hedgewars/uCommandHandlers.pas
changeset 7831 cd6c6b8d9b75
parent 7829 c1dc7839d7b9
child 7946 a99a79bbd857
--- a/hedgewars/uCommandHandlers.pas	Fri Oct 26 20:37:18 2012 +0200
+++ b/hedgewars/uCommandHandlers.pas	Sat Oct 27 00:20:31 2012 +0400
@@ -436,8 +436,8 @@
         SendIPC(s)
         end
     else
-        TryDo((lastTurnChecksum = 0) or (CheckSum = lastTurnChecksum), 'Desync detected', true);
-    lastTurnChecksum:= 0;
+        TryDo(CurrentTeam^.hasGone or (CheckSum = lastTurnChecksum), 'Desync detected', true);
+
     AddFileLog('Next turn: time '+inttostr(GameTicks));
 end;