gameServer/HWProtoInRoomState.hs
changeset 13828 76a1d6275cd3
parent 13729 f4c8c6a174e8
child 13846 d8e606cf8ff5
--- a/gameServer/HWProtoInRoomState.hs	Thu Oct 04 14:54:57 2018 +0200
+++ b/gameServer/HWProtoInRoomState.hs	Thu Oct 04 17:07:17 2018 +0200
@@ -382,9 +382,9 @@
     chans <- roomSameClanChans
     return [AnswerClients chans ["EM", engineMsg cl]]
     where
-        -- FIXME: Use different method to send team message, without hardcoding the format.
-        -- The formatting should be decided by the engine, not the sever. This one cannot be localized.
-        engineMsg cl = toEngineMsg $ B.concat ["b", "[Clan] ", nick cl, ": ", msg, "\x20\x20"]
+        -- This is formatted in a way so it can parsed by engine to make it translatable
+        -- Format: b<PLAYER NAME>]<MESSAGE>
+        engineMsg cl = toEngineMsg $ B.concat ["b", nick cl, "]", msg, "\x20\x20"]
 
 
 handleCmd_inRoom ["BAN", banNick] = do