Unstable 1.2.1.0
This commit is contained in:
@@ -121,6 +121,16 @@ namespace Barotrauma
|
||||
{
|
||||
return AllowedToManageCampaign(ClientPermissions.ManageMoney);
|
||||
}
|
||||
|
||||
public static bool AllowImmediateItemDelivery()
|
||||
{
|
||||
if (GameMain.Client == null) { return true; }
|
||||
return
|
||||
GameMain.Client.ServerSettings.AllowImmediateItemDelivery ||
|
||||
GameMain.Client.HasPermission(ClientPermissions.ManageCampaign) ||
|
||||
GameMain.Client.IsServerOwner;
|
||||
}
|
||||
|
||||
protected GUIButton CreateEndRoundButton()
|
||||
{
|
||||
int buttonWidth = (int)(450 * GUI.xScale * (GUI.IsUltrawide ? 3.0f : 1.0f));
|
||||
|
||||
+1
-1
@@ -535,7 +535,7 @@ namespace Barotrauma
|
||||
|
||||
bool refreshCampaignUI = false;
|
||||
|
||||
if (!(GameMain.GameSession?.GameMode is MultiPlayerCampaign campaign) || campaignID != campaign.CampaignID)
|
||||
if (GameMain.GameSession?.GameMode is not MultiPlayerCampaign campaign || campaignID != campaign.CampaignID)
|
||||
{
|
||||
string savePath = SaveUtil.CreateSavePath(SaveUtil.SaveType.Multiplayer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user