moved Game.players, LocalPlayer, localPlayerIndex to World. Setting LocalPlayer via settings is broken.
This commit is contained in:
@@ -16,8 +16,8 @@ namespace OpenRa
|
||||
{
|
||||
if (isChatting && typing.Length > 0)
|
||||
{
|
||||
Game.controller.AddOrder(Order.Chat(Game.LocalPlayer, typing));
|
||||
AddLine(Game.LocalPlayer, typing);
|
||||
Game.controller.AddOrder(Order.Chat(Game.world.LocalPlayer, typing));
|
||||
AddLine(Game.world.LocalPlayer, typing);
|
||||
}
|
||||
|
||||
typing = "";
|
||||
|
||||
Reference in New Issue
Block a user