diff --git a/gui/mapGUI.js b/gui/mapGUI.js index 4defa5e..ac081ca 100644 --- a/gui/mapGUI.js +++ b/gui/mapGUI.js @@ -39,7 +39,7 @@ function drawMapGUI() { // Button Action 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(); guiControl.map.show = false; } diff --git a/rooms/oceanRoom.js b/rooms/oceanRoom.js index 74ba3b6..ad2a31e 100644 --- a/rooms/oceanRoom.js +++ b/rooms/oceanRoom.js @@ -53,6 +53,11 @@ rm_Ocean.Do = function () { guiControl.inventory.activateDelay = 5; 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++) { G.map[i].island.NewDay(); } - + G.SaveGame(); }