hedgewars/uCommandHandlers.pas
changeset 9670 1954f692e8c6
parent 9489 0818d14e90be
child 9671 6e95617988c9
--- a/hedgewars/uCommandHandlers.pas	Sun Nov 03 22:37:41 2013 +0400
+++ b/hedgewars/uCommandHandlers.pas	Sun Nov 03 22:39:00 2013 +0400
@@ -641,9 +641,11 @@
 begin
 s:= s; // avoid compiler hint
 if gameType <> gmtNet then
-    isPaused:= not isPaused;
+    isPaused:= not isPaused
+    else
+    isAFK:= not isAFK;
 
-if isPaused then
+if isPaused or isAFK then
     SDL_ShowCursor(1)
     else
     SDL_ShowCursor(ord(GameState = gsConfirm))