diff --git a/bin/Info.plist b/bin/Info.plist
index bbef5b8..af3fd93 100644
--- a/bin/Info.plist
+++ b/bin/Info.plist
@@ -23,11 +23,11 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.0.8
+ 1.1.0
CFBundleSignature
????
CFBundleVersion
- 1.0.8
+ 1.1.0
CSResourcesFileMapped
LSMinimumSystemVersion
@@ -41,4 +41,4 @@
SUPublicDSAKeyFile
dsa_pub.pem
-
\ No newline at end of file
+
diff --git a/data/game.lua b/data/game.lua
index c22a00a..573d4b1 100644
--- a/data/game.lua
+++ b/data/game.lua
@@ -382,7 +382,7 @@ function update_menu()
menu_count=0
menu_state=2
end
- elseif btnp(keyDown) or btnp(KEY_DOWN) or padp(BTN_DOWN) padp(btnDown) then
+ elseif btnp(keyDown) or btnp(KEY_DOWN) or padp(BTN_DOWN) or padp(btnDown) then
menu_sel=menu_sel+1
if menu_sel==3 then menu_sel=0 end
elseif btnp(keyUp) or btnp(KEY_UP) or padp(BTN_UP) or padp(btnUp) then
@@ -399,6 +399,10 @@ function update_menu()
quit()
end
elseif menu_state==1 then
+ if btnp(KEY_ESCAPE) then
+ menu_count = 0
+ menu_state = 0
+ end
if menu_count==0 then
text("PULSA TECLA PER A AMUNT", 20, 24, 13)
local key = btnp();
@@ -442,6 +446,10 @@ function update_menu()
end
end
else
+ if btnp(KEY_ESCAPE) then
+ menu_count = 0
+ menu_state = 0
+ end
if menu_count==0 then
text("PULSA BOTÓ PER A AMUNT", 22, 24, 13)
local btn = padp();