Added a new way to open the map.

This commit is contained in:
Robbie Antenesse 2016-04-17 20:46:20 -06:00
parent 9d80d31647
commit 65d6722122
2 changed files with 7 additions and 2 deletions

View File

@ -39,7 +39,7 @@ function drawMapGUI() {
// Button Action // Button Action
if (guiControl.map.activateDelay <= 0) { if (guiControl.map.activateDelay <= 0) {
if (ct_confirm().down || ct_cancel().down) { if (ct_confirm().down || ct_cancel().down || ct_m.down) {
snd_cursorup.Play(); snd_cursorup.Play();
guiControl.map.show = false; guiControl.map.show = false;
} }

View File

@ -53,6 +53,11 @@ rm_Ocean.Do = function () {
guiControl.inventory.activateDelay = 5; guiControl.inventory.activateDelay = 5;
guiControl.inventory.show = true; guiControl.inventory.show = true;
} }
if (ct_m.down) {
snd_select.Play();
guiControl.map.activateDelay = 5;
guiControl.map.show = true;
}
} }
} }
@ -108,7 +113,7 @@ rm_Ocean.RunClock = function () {
for (var i = 0; i < G.map.length; i++) { for (var i = 0; i < G.map.length; i++) {
G.map[i].island.NewDay(); G.map[i].island.NewDay();
} }
G.SaveGame(); G.SaveGame();
} }