summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/interface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp
index c366fa8..5b2d7b8 100644
--- a/src/game/interface.cpp
+++ b/src/game/interface.cpp
@@ -289,7 +289,8 @@ void state_t::tick(double dt)
select.rect[1] = wmouse;
}
- pie_menu.update(mouse);
+ if (pie_menu.is_open)
+ pie_menu.update(mouse);
}
void state_t::print(std::string str)