(05de9c4) Added Linux launch scripts to the project

This commit is contained in:
Joonas Rikkonen
2019-04-07 21:48:03 +03:00
parent d16c470df6
commit ae07c3174a
5 changed files with 15 additions and 17 deletions
@@ -79,22 +79,7 @@ namespace Barotrauma
}
};
if (GameMain.Client != null && interactor == Character.Controlled)
{
var msgBox = new GUIMessageBox("", TextManager.Get("CampaignEnterOutpostPrompt")
.Replace("[locationname]", Submarine.MainSub.AtStartPosition ? Map.CurrentLocation.Name : Map.SelectedLocation.Name),
new string[] { TextManager.Get("Yes"), TextManager.Get("No") })
{
UserData = "watchmanprompt"
};
msgBox.Buttons[0].OnClicked = (btn, userdata) =>
{
GameMain.Client.RequestRoundEnd();
return true;
};
msgBox.Buttons[0].OnClicked += msgBox.Close;
msgBox.Buttons[1].OnClicked += msgBox.Close;
}
return background;
}
public override void Update(float deltaTime)