From: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Date: Wed, 30 Apr 2025 00:19:07 +0000 (+0200) Subject: Hotfix: Fix item toggling crashing the client for slimes (#37054) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=0e586e3faeb7119fb01a248c7ac7c6084f9ad7b2;p=space-station-14.git Hotfix: Fix item toggling crashing the client for slimes (#37054) fix item toggling crashing the server for slimes --- diff --git a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs index e9ed89f560..6b91ddc7f4 100644 --- a/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs +++ b/Content.Shared/Storage/EntitySystems/SharedStorageSystem.cs @@ -347,6 +347,7 @@ public abstract class SharedStorageSystem : EntitySystem storage = null; if (!ContainerSystem.TryGetContainingContainer(itemEnt, out container) || + container.ID != StorageComponent.ContainerId || !TryComp(container.Owner, out storage) || !_itemQuery.Resolve(itemEnt, ref itemEnt.Comp, false)) {