# HG changeset patch # User unc0rr # Date 1383635066 -14400 # Node ID ce7396d4eaf70792fef82930b66296309a606872 # Parent 295636ec930a6672a3df641fe205c7b17c761f5c Fix broken chat diff -r 295636ec930a -r ce7396d4eaf7 hedgewars/uChat.pas --- 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;