Release 1.10.6.0 - Autumn Update 2025 Hotfix 1

This commit is contained in:
Regalis11
2025-09-25 11:11:35 +03:00
parent bad999d5fc
commit b2d91cde7c
25 changed files with 435 additions and 226 deletions
@@ -183,7 +183,7 @@ namespace Barotrauma
networkUpdateTimer += deltaTime;
if (networkUpdateTimer > 0.2f)
{
if (!pendingSectionUpdates.Any() && !pendingDecalUpdates.Any())
if (!pendingSectorUpdates.Any() && !pendingDecalUpdates.Any())
{
//these are used to modify the amount water/fire in the hull with console commands
//they should be usable even when not controlling a character
@@ -194,11 +194,11 @@ namespace Barotrauma
GameMain.Client?.CreateEntityEvent(this, new DecalEventData(decal));
}
pendingDecalUpdates.Clear();
foreach (int pendingSectionUpdate in pendingSectionUpdates)
foreach (int pendingSectorUpdate in pendingSectorUpdates)
{
GameMain.Client?.CreateEntityEvent(this, new BackgroundSectionsEventData(pendingSectionUpdate));
GameMain.Client?.CreateEntityEvent(this, new BackgroundSectionsEventData(pendingSectorUpdate));
}
pendingSectionUpdates.Clear();
pendingSectorUpdates.Clear();
networkUpdatePending = false;
networkUpdateTimer = 0.0f;
}