add resume & surrender buttons to ingame menu
This commit is contained in:
@@ -46,6 +46,18 @@ namespace OpenRA.Widgets.Delegates
|
||||
optionsBG.GetWidget("BUTTON_SETTINGS").OnMouseUp = mi => {
|
||||
r.OpenWindow("SETTINGS_BG");
|
||||
return true;
|
||||
};
|
||||
|
||||
optionsBG.GetWidget("BUTTON_RESUME").OnMouseUp = mi =>
|
||||
{
|
||||
optionsBG.Visible = false;
|
||||
return true;
|
||||
};
|
||||
|
||||
optionsBG.GetWidget("BUTTON_SURRENDER").OnMouseUp = mi =>
|
||||
{
|
||||
Game.IssueOrder(new Order("Surrender", Game.world.LocalPlayer.PlayerActor));
|
||||
return true;
|
||||
};
|
||||
|
||||
optionsBG.GetWidget("BUTTON_QUIT").OnMouseUp = mi => {
|
||||
|
||||
Reference in New Issue
Block a user