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
@@ -106,24 +106,6 @@ namespace Barotrauma
}
}
public void ChangeServerName(string n)
{
GameMain.Server.ServerSettings.ServerName = n; lastUpdateID++;
}
public void ChangeServerMessage(string m)
{
GameMain.Server.ServerSettings.ServerMessageText = m; lastUpdateID++;
}
public List<JobPrefab> JobPreferences
{
get
{
return null;
}
}
public NetLobbyScreen()
{
LevelSeed = ToolBox.RandomSeed(8);
@@ -170,7 +152,7 @@ namespace Barotrauma
}
set
{
if (levelSeed == value) return;
if (levelSeed == value) { return; }
lastUpdateID++;
levelSeed = value;
@@ -200,6 +182,12 @@ namespace Barotrauma
{
GameMain.GameSession = null;
}
if (GameMain.Server.ServerSettings.SelectedSubmarine.IsNullOrEmpty())
{
//if no sub is selected in the settings,
//select the random sub we selected in the constructor
GameMain.Server.ServerSettings.SelectedSubmarine = SelectedSub?.Name;
}
}
public void RandomizeSettings()