Merge remote-tracking branch 'upstream/master' into develop
This commit is contained in:
@@ -231,6 +231,12 @@ namespace Barotrauma
|
||||
{
|
||||
campaign.Bank.Deduct(selectedSub.Price);
|
||||
campaign.Bank.Balance = Math.Max(campaign.Bank.Balance, 0);
|
||||
#if SERVER
|
||||
if (GameMain.Server?.ServerSettings?.NewCampaignDefaultSalary is { } salary)
|
||||
{
|
||||
campaign.Bank.SetRewardDistribution((int)Math.Round(salary, digits: 0));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return campaign;
|
||||
}
|
||||
@@ -970,6 +976,8 @@ namespace Barotrauma
|
||||
{
|
||||
ToggleTabMenu();
|
||||
}
|
||||
DeathPrompt?.Close();
|
||||
DeathPrompt.CloseBotPanel();
|
||||
|
||||
GUI.PreventPauseMenuToggle = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user