hedgewars/uGame.pas
changeset 8472 da6b569ac930
parent 8471 7681d14b9f01
child 8833 c13ebed437cb
child 9080 9b42757d7e71
--- a/hedgewars/uGame.pas	Tue Feb 05 17:28:12 2013 -0500
+++ b/hedgewars/uGame.pas	Fri Feb 08 15:33:43 2013 +0400
@@ -36,12 +36,14 @@
 begin
 if isPaused then
     exit;
+
 if (not CurrentTeam^.ExtDriven) then
     begin
     NetGetNextCmd; // its for the case of receiving "/say" message
     isInLag:= false;
-    SendKeepAliveMessage(Lag)
+    FlushMessages(Lag)
     end;
+
 if GameType <> gmtRecord then
     begin
     if Lag > 100 then