The ultimate fix for rejoin desyncs 0.9.23
authorunc0rr
Tue, 16 Jan 2018 00:42:06 +0100
branch0.9.23
changeset 12898 9cb98c97fbcb
parent 12893 41d147eb26ea
child 12899 ff54aca22bb5
The ultimate fix for rejoin desyncs
hedgewars/uIO.pas
--- a/hedgewars/uIO.pas	Wed Jan 10 01:39:10 2018 +0100
+++ b/hedgewars/uIO.pas	Tue Jan 16 00:42:06 2018 +0100
@@ -72,7 +72,7 @@
 function AddCmd(Time: Word; str: shortstring): PCmd;
 var command: PCmd;
 begin
-    if (lastcmd <> nil) and (lastcmd^.cmd = '+') then
+    if (lastcmd <> nil) and (lastcmd^.cmd = '+') and (str[1] <> 'F') and (str[1] <> 'G') then
     begin
         command:= lastcmd;
     end else