hedgewars/uScript.pas
changeset 13881 aa321e51da14
parent 13873 26ebbf9717fd
child 13938 429945a9b8db
--- a/hedgewars/uScript.pas	Sun Oct 07 18:37:30 2018 +0200
+++ b/hedgewars/uScript.pas	Tue Oct 09 09:02:39 2018 -0400
@@ -1651,7 +1651,7 @@
                vgear^.Text:= lua_tostring(L, 2);
                if Gear^.Kind = gtHedgehog then
                    begin
-                   AddChatString(#9+Format(trmsg[sidChatHog], gear^.Hedgehog^.Name, vgear^.text));
+                   AddChatString(#9+Format(shortstring(trmsg[sidChatHog]), gear^.Hedgehog^.Name, vgear^.text));
                    vgear^.Hedgehog:= gear^.Hedgehog
                    end
                else vgear^.Frame:= gear^.uid;