hedgewars/uInputHandler.pas
changeset 15907 a323e1954a6f
parent 15754 684838d5fb08
child 15908 014f4edd0421
--- a/hedgewars/uInputHandler.pas	Wed Oct 05 22:39:07 2022 +0300
+++ b/hedgewars/uInputHandler.pas	Thu Oct 06 20:58:54 2022 +0300
@@ -237,7 +237,7 @@
     // Check if the keypress should end the ready phase.
     // Camera movement keys are "safe" since its equivalent to moving the mouse,
     // which also does not end the ready phase.
-    readyAborter:= (curBind <> '+cur_u') and (curBind <> '+cur_d') and (curBind <> '+cur_l') and (curBind <> '+cur_r');
+    readyAborter:= (GameState <> gsConfirm) and (curBind <> '+cur_u') and (curBind <> '+cur_d') and (curBind <> '+cur_l') and (curBind <> '+cur_r');
 
     if (code < cKeyMaxIndex - 2) // means not mouse buttons
         and KeyDown