# HG changeset patch # User unc0rr # Date 1383897647 -14400 # Node ID 50a001b1964ea2b91a4ef3966cc4f11fcbc4c28d # Parent aa349a876c93addee4605dd34e815adfeee44243 Fix chat yet again diff -r aa349a876c93 -r 50a001b1964e hedgewars/uChat.pas --- a/hedgewars/uChat.pas Wed Nov 06 09:26:14 2013 -0500 +++ b/hedgewars/uChat.pas Fri Nov 08 12:00:47 2013 +0400 @@ -278,11 +278,14 @@ exit end; - if (copy(s, 1, 4) <> '/me ') then + if (copy(s, 1, 4) = '/me ') then begin - if CurrentTeam^.ExtDriven or (CurrentTeam^.Hedgehogs[0].BotLevel <> 0) then - exit; + ParseCommand('/say ' + s, true); + exit + end; + if (not CurrentTeam^.ExtDriven) and (CurrentTeam^.Hedgehogs[0].BotLevel = 0) then + begin for i:= Low(TWave) to High(TWave) do if (s = Wavez[i].cmd) then begin