hedgewars/uCommandHandlers.pas
changeset 7829 c1dc7839d7b9
parent 7805 2a249a4faf5b
child 7831 cd6c6b8d9b75
--- a/hedgewars/uCommandHandlers.pas	Fri Oct 26 13:50:03 2012 -0400
+++ b/hedgewars/uCommandHandlers.pas	Fri Oct 26 14:06:42 2012 -0400
@@ -436,7 +436,8 @@
         SendIPC(s)
         end
     else
-        TryDo(CheckSum = lastTurnChecksum, 'Desync detected', true);
+        TryDo((lastTurnChecksum = 0) or (CheckSum = lastTurnChecksum), 'Desync detected', true);
+    lastTurnChecksum:= 0;
     AddFileLog('Next turn: time '+inttostr(GameTicks));
 end;