hedgewars/uChat.pas
changeset 9676 ce7396d4eaf7
parent 9669 9fa0f67ff628
child 9680 50a001b1964e
child 9697 198c3ed28fe8
--- a/hedgewars/uChat.pas	Mon Nov 04 22:41:55 2013 -0500
+++ b/hedgewars/uChat.pas	Tue Nov 05 11:04:26 2013 +0400
@@ -242,9 +242,9 @@
     exit
     end;
 
-// These 3 are same as above, only are to make the hedgehog say it on next attack
 if (s[1] = '/') then
     begin
+    // These 3 are same as above, only are to make the hedgehog say it on next attack
     if (copy(s, 1, 5) = '/hsa ') then
         begin
         if CurrentTeam^.ExtDriven then
@@ -297,9 +297,9 @@
                 exit
                 end;
         end
-        else
-            ParseCommand('/say ' + s, true);
     end
+    else
+        ParseCommand('/say ' + s, true);
 end;
 
 procedure CleanupInput;