# HG changeset patch
# User unc0rr
# Date 1231437690 0
# Node ID d52f62c9fc09c73207e306e4a97e7565ce83497a
# Parent  eff63adf62a3923a6e054f2a64de0c3bf1a90967
Don't send empty packets when spectating (probably fixes queue error when spectating)

diff -r eff63adf62a3 -r d52f62c9fc09 hedgewars/uGame.pas
--- a/hedgewars/uGame.pas	Thu Jan 08 18:00:20 2009 +0000
+++ b/hedgewars/uGame.pas	Thu Jan 08 18:01:30 2009 +0000
@@ -35,7 +35,8 @@
 var i: LongInt;
 begin
 if isPaused then exit;
-if not CurrentTeam^.ExtDriven then
+if (not CurrentTeam^.ExtDriven)
+	and not ((GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet))) then
    begin
    NetGetNextCmd; // its for the case of receiving "/say" message
    isInLag:= false;