diff options
Diffstat (limited to 'game')
-rw-r--r-- | game/player/PlayerScript.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/game/player/PlayerScript.cpp b/game/player/PlayerScript.cpp index 286cdaf..14ad9cd 100644 --- a/game/player/PlayerScript.cpp +++ b/game/player/PlayerScript.cpp @@ -30,6 +30,7 @@ void PlayerScript::init() { } bool PlayerScript::on_key_down(const KeyPressEvent & ev) { + if (ev.repeat) return false; if (ev.key == Keycode::SPACE) { const vec2 UP = {0, -1}; this->help_kick(UP); |