mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-05-03 05:27:19 +03:00
Make storage implant closable using the action again (#31381)
(cherry picked from commit 8f4ee7ac9612ce550f12b4f0857e0088602b6174)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user