Release 1.11.4.1 (Winter Update)

This commit is contained in:
Markus Isberg
2025-12-08 14:56:47 +00:00
parent 21e34e5cd8
commit 598966f200
121 changed files with 1614 additions and 819 deletions
@@ -300,7 +300,9 @@ namespace Barotrauma
return;
}
Submarine refSub = GetReferenceSub(acceptRemoteControlledSubs: true);
if (Submarine.MainSubs.Length == 2 && Submarine.MainSubs[1] != null)
//randomly choose which main sub to spawn the monsters around if there's 2 player subs (e.g. in the PvP mode)
if (Submarine.MainSubs.Length == 2 &&
Submarine.MainSubs[1] is { Info.Type: SubmarineType.Player })
{
refSub = Submarine.MainSubs.GetRandom(Rand.RandSync.Unsynced);
}