Fixed issues bring by update

This commit is contained in:
NotAlwaysTrue
2026-04-25 13:21:25 +08:00
parent 1f7d695bba
commit 099d664731
2 changed files with 1 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ namespace Barotrauma
}
public int ConnectClients
{
get { return Client.ClientList.Count; }
get { return GameMain.Server.ConnectedClients.Count; }
}
public double RealTickRate

View File

@@ -409,7 +409,6 @@ namespace Barotrauma
public void LoadPreviousSave()
{
GameMain.LuaCs.Hook.Call("roundEnd");
AchievementManager.OnRoundEnded(this, roundInterrupted: true);
Submarine.Unload();
SaveUtil.LoadGame(DataPath);