diff --git a/include/Game/GUI/Story1.h b/include/Game/GUI/Story1.h index 3f0bd97..71fbe97 100644 --- a/include/Game/GUI/Story1.h +++ b/include/Game/GUI/Story1.h @@ -216,7 +216,7 @@ private: bool OnKeyDown(const Events::KeyDown& event) { if (Hidden()) { - return; + return false; } if (event.KeyCode == GLFW_KEY_SPACE) {