From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Thu, 22 May 2025 14:11:36 +0000 (+1000) Subject: Fix storage (#37714) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d924e11c3a2c48f726b39f831c7c9e085b108cdd;p=space-station-14.git Fix storage (#37714) The one path I forgot to get the relative index. --- diff --git a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs index b352243db8..bbbf8a449f 100644 --- a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs +++ b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs @@ -1396,7 +1396,7 @@ public abstract class SharedStorageSystem : EntitySystem // This bit of code is how area inserts go from tanking frames to being negligible. if (fastPath) { - var flag = SharedMapSystem.ToBitmask(position, StorageComponent.ChunkSize); + var flag = SharedMapSystem.ToBitmask(SharedMapSystem.GetChunkRelative(position, StorageComponent.ChunkSize), StorageComponent.ChunkSize); // Occupied so skip. if ((occupied & flag) == flag)