merge
authorkoda
Sun, 03 Nov 2013 22:53:37 +0100
changeset 9674 8f2b0b925513
parent 9673 5be4de0eb4b0 (current diff)
parent 9671 6e95617988c9 (diff)
child 9675 295636ec930a
merge
--- a/hedgewars/uCommandHandlers.pas	Sun Nov 03 22:53:16 2013 +0100
+++ b/hedgewars/uCommandHandlers.pas	Sun Nov 03 22:53:37 2013 +0100
@@ -643,7 +643,10 @@
 if gameType <> gmtNet then
     isPaused:= not isPaused
     else
-    isAFK:= not isAFK;
+    if (CurrentTeam^.ExtDriven) or (CurrentHedgehog^.BotLevel > 0) then
+        isAFK:= not isAFK
+    else
+        isAFK:= false; // for real ninjas
 
 if isPaused or isAFK then
     SDL_ShowCursor(1)