--- a/gameServer/HWProtoInRoomState.hs Sun Aug 26 15:10:34 2018 +0200
+++ b/gameServer/HWProtoInRoomState.hs Sun Aug 26 16:51:01 2018 +0200
@@ -382,7 +382,9 @@
chans <- roomSameClanChans
return [AnswerClients chans ["EM", engineMsg cl]]
where
- engineMsg cl = toEngineMsg $ B.concat ["b", nick cl, " (team): ", msg, "\x20\x20"]
+ -- 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"]
handleCmd_inRoom ["BAN", banNick] = do