summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/control/MapContext.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/MapContext.cpp b/src/control/MapContext.cpp
index 1b0e721..6ba3b6b 100644
--- a/src/control/MapContext.cpp
+++ b/src/control/MapContext.cpp
@@ -43,6 +43,8 @@ MapContext::MapContext(EventBus *eventBus0, InputHandler *inputHandler0, const s
[this] (uint16_t key, bool pressed, uint64_t time) {
if (pressed)
keyPressed(key, time);
+ else
+ movePlayerContinue(time);
}
);
}