move Game.world onto OrderManager. use call IssueOrder on world and/or on orderManager, not on Game
This commit is contained in:
@@ -53,7 +53,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
|
||||
|
||||
optionsBG.GetWidget("SURRENDER").OnMouseUp = mi =>
|
||||
{
|
||||
Game.IssueOrder(new Order("Surrender", world.LocalPlayer.PlayerActor));
|
||||
world.IssueOrder(new Order("Surrender", world.LocalPlayer.PlayerActor));
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user