Game.IssueOrder wrapper for OM; moved some more features into mod

This commit is contained in:
Chris Forbes
2010-01-29 19:34:13 +13:00
parent 3cf1ec5b45
commit 603bb44529
8 changed files with 21 additions and 24 deletions

View File

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