summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-30 16:24:26 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-30 16:24:26 +0200
commitb2f2b47a7ca6635cb6fe1f2dfc78df8a8f51e55b (patch)
tree16d4bb2e8c578c124633f24f5bf2b8b19a3ed5a8
parentdc56ea3c8f3c0badd225774b576564215abbd90d (diff)
downloadRustAndDust-b2f2b47a7ca6635cb6fe1f2dfc78df8a8f51e55b.zip
RustAndDust-b2f2b47a7ca6635cb6fe1f2dfc78df8a8f51e55b.tar.gz
GameScreen: call ctrl.processEvent() within render
-rw-r--r--core/src/ch/asynk/rustanddust/screens/GameScreen.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/screens/GameScreen.java b/core/src/ch/asynk/rustanddust/screens/GameScreen.java
index 900d07b..e2aa8a2 100644
--- a/core/src/ch/asynk/rustanddust/screens/GameScreen.java
+++ b/core/src/ch/asynk/rustanddust/screens/GameScreen.java
@@ -149,6 +149,7 @@ public class GameScreen implements Screen
blocked = false;
}
+ ctrl.processEvent();
ctrl.hud.animate(delta);
ctrl.map.animate(delta);