hack in team chat support

This commit is contained in:
Chris Forbes
2010-05-16 16:18:27 +12:00
parent d87807809d
commit 128f12e88e
5 changed files with 25 additions and 2 deletions

View File

@@ -495,7 +495,10 @@ namespace OpenRA
int sync = world.SyncHash();
if (e.KeyChar == '\r')
{
chat.Toggle();
chat.isTeamChat = modifiers.HasModifier(Modifiers.Shift);
}
else if (Game.chat.isChatting)
chat.TypeChar(e.KeyChar);
else