v1.4.4.1 (Blood in the Water Update)

This commit is contained in:
Regalis11
2024-04-24 18:09:05 +03:00
parent 89b91d1c3e
commit ff1b8951a7
397 changed files with 15250 additions and 6479 deletions
@@ -31,8 +31,8 @@ namespace Barotrauma
lastUpdateID++;
}
#elif CLIENT
levelDifficultyScrollBar.BarScroll = difficulty / 100.0f;
levelDifficultyScrollBar.OnMoved(levelDifficultyScrollBar, levelDifficultyScrollBar.BarScroll);
levelDifficultySlider.BarScroll = difficulty / 100.0f;
levelDifficultySlider.OnMoved(levelDifficultySlider, levelDifficultySlider.BarScroll);
#endif
}
@@ -47,9 +47,6 @@ namespace Barotrauma
GameMain.Server.ServerSettings.BotCount = botCount;
lastUpdateID++;
}
#endif
#if CLIENT
botCountText.Text = botCount.ToString();
#endif
}
@@ -61,15 +58,6 @@ namespace Barotrauma
GameMain.Server.ServerSettings.BotSpawnMode = botSpawnMode;
lastUpdateID++;
}
#endif
#if CLIENT
botSpawnModeText.Text = TextManager.Get(botSpawnMode.ToString());
botSpawnModeText.ToolTip = TextManager.Get($"botspawnmode.{botSpawnMode}.tooltip") + "\n\n" + TextManager.Get("botspawn.campaignnote");
foreach (var btn in botSpawnModeButtons)
{
btn.ToolTip = botSpawnModeText.ToolTip;
}
#endif
}
@@ -79,10 +67,6 @@ namespace Barotrauma
{
GameMain.NetworkMember.ServerSettings.TraitorProbability = probability;
}
#if CLIENT
traitorProbabilitySlider.BarScroll = probability;
traitorProbabilitySlider.OnMoved(traitorProbabilitySlider, traitorProbabilitySlider.BarScroll);
#endif
}
public void SetTraitorDangerLevel(int dangerLevel)