chat no longer sets Order.Player (or Subject); clientId is used instead.

This commit is contained in:
Bob
2010-01-26 16:25:27 +13:00
parent f3f8fdef90
commit 99e59e8fb2
9 changed files with 19 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ namespace OpenRa
public void Toggle()
{
if (isChatting && typing.Length > 0)
Game.orderManager.IssueOrder(Order.Chat(Game.world.LocalPlayer, typing));
Game.orderManager.IssueOrder(Order.Chat(typing));
typing = "";
isChatting ^= true;