From 75283c545daff14f26f0377f6cddbd859512f4b9 Mon Sep 17 00:00:00 2001 From: Stas'M Date: Sat, 19 May 2018 23:07:46 +0300 Subject: [PATCH] Window: Update keyboard state before execute --- src/game/g_window.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/g_window.pas b/src/game/g_window.pas index 3a29d08..ac21148 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -483,8 +483,8 @@ begin exit; end; {$ENDIF} - if down then KeyPress(key); e_KeyUpDown(key, down); + if down then KeyPress(key); end; {$IF not DEFINED(HEADLESS)} -- 2.29.2