summaryrefslogtreecommitdiff
path: root/src/wm_path_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/wm_path_manager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wm_path_manager.cpp b/src/wm_path_manager.cpp
index 1f0b460..f892aca 100644
--- a/src/wm_path_manager.cpp
+++ b/src/wm_path_manager.cpp
@@ -32,6 +32,9 @@ int dWMPathManager_c::onDelete() {
int dWMPathManager_c::onExecute() {
if (!dScNewerWorldMap_c::instance->canDoStuff()) return true;
+ // A HACK
+ // TODO: fix this / make it cleaner
+ if (dScNewerWorldMap_c::instance->state != 6) return true;
int heldButtons = Remocon_GetButtons(GetActiveRemocon());
int nowPressed = Remocon_GetPressed(GetActiveRemocon());