aboutsummaryrefslogtreecommitdiffstats
path: root/include/engine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/engine.hpp')
-rw-r--r--include/engine.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/engine.hpp b/include/engine.hpp
index 5824950..448c397 100644
--- a/include/engine.hpp
+++ b/include/engine.hpp
@@ -60,8 +60,9 @@ public:
* A handler for the game ending event.
* @param gee game end event data
*/
- inline void receive(const GameEndEvent &gee) {
+ inline bool receive(const GameEndEvent &gee) {
shouldRun = !(gee.really);
+ return false;
}
};