hedgewars/uKeys.pas
changeset 42 72ffe21f027c
parent 4 bcbd7adb4e4b
child 109 ab0340f580c2
--- a/hedgewars/uKeys.pas	Mon Jan 09 20:29:14 2006 +0000
+++ b/hedgewars/uKeys.pas	Mon Jan 09 20:33:12 2006 +0000
@@ -60,6 +60,7 @@
      pkbd: PByteArray;
 begin
 if (CurrentTeam = nil)
+   or (GameState = gsConsole)
    or (CurrentTeam.ExtDriven)
    or (CurrentTeam.Hedgehogs[CurrentTeam.CurrHedgehog].BotLevel <> 0) then exit;
 pkbd:= SDL_GetKeyState(nil);