summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 85dabbc9..56a25faf 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -444,10 +444,11 @@ void Game::exec()
if (mCurrentMap)
mCurrentMap->update(get_elapsed_time(gameTime));
+ handleInput();
+
// Handle all necessary game logic
while (get_elapsed_time(gameTime) > 0)
{
- handleInput();
beingManager->logic();
particleEngine->update();
gui->logic();