Release 1.9.7.0 - Summer Update 2025

This commit is contained in:
Regalis11
2025-06-17 16:38:11 +03:00
parent 22227f13e5
commit ea5a2bc693
297 changed files with 7344 additions and 2421 deletions
@@ -1141,6 +1141,17 @@ namespace Barotrauma
}
}
foreach (var dockingPort in DockingPort.List)
{
//a little hacky: undock and redock to ensure the hulls and gaps between docking ports are correct
//after all the parts of the submarine have been flipped and moved to correct places.
if (dockingPort.DockingTarget is { } dockingTarget)
{
dockingPort.Undock();
dockingPort.Dock(dockingTarget);
}
}
Item.UpdateHulls();
Gap.UpdateHulls();
#if CLIENT
@@ -2090,6 +2101,10 @@ namespace Barotrauma
foreach (Submarine sub in _loaded)
{
sub.Remove();
if (sub.Info.LazyLoad)
{
sub.Info.UnloadSubmarineElement();
}
}
loaded.Clear();