Make storage implant closable using the action again (#31381)

(cherry picked from commit 8f4ee7ac9612ce550f12b4f0857e0088602b6174)
This commit is contained in:
slarticodefast
2024-08-24 11:31:02 +10:00
committed by Spatison
parent c2c9954477
commit cd2f531e00
2 changed files with 4 additions and 3 deletions

View File

@@ -1521,7 +1521,7 @@ public abstract class SharedStorageSystem : EntitySystem
if (session is not { } playerSession)
return;
if (playerSession.AttachedEntity is not {Valid: true} playerEnt || !Exists(playerEnt))
if (playerSession.AttachedEntity is not { Valid: true } playerEnt || !Exists(playerEnt))
return;
if (!_inventory.TryGetSlotEntity(playerEnt, slot, out var storageEnt))