don't forbid running regular chat commands during turns of other teams. that was probably only meant for emotes to begin with
authorsheepluva
Sun, 30 Nov 2014 21:15:46 +0100
changeset 10588 6189bb1c903d
parent 10587 1dac23b5fe3b
child 10589 98ea597e5cd9
don't forbid running regular chat commands during turns of other teams. that was probably only meant for emotes to begin with
hedgewars/uChat.pas
--- a/hedgewars/uChat.pas	Sun Nov 30 15:12:59 2014 -0500
+++ b/hedgewars/uChat.pas	Sun Nov 30 21:15:46 2014 +0100
@@ -392,14 +392,14 @@
                 ParseCommand('/taunt ' + char(i), true);
                 exit
                 end;
+        end;
 
-        for j:= Low(TChatCmd) to High(TChatCmd) do
-            if (s = ChatCommandz[j].ChatCmd) then
-                begin
-                ParseCommand(ChatCommandz[j].ProcedureCallChatCmd, true);
-                exit
-                end;
-        end;
+    for j:= Low(TChatCmd) to High(TChatCmd) do
+        if (s = ChatCommandz[j].ChatCmd) then
+            begin
+            ParseCommand(ChatCommandz[j].ProcedureCallChatCmd, true);
+            exit
+            end;
 
     if (gameType = gmtNet) then
         SendConsoleCommand(s)