hedgewars/uCommandHandlers.pas
changeset 9674 8f2b0b925513
parent 9671 6e95617988c9
child 9693 9e31e3bb4476
--- 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)