Storage CanInsert() tweaks (#21623)
This commit is contained in:
@@ -90,7 +90,7 @@ public sealed partial class StorageSystem : SharedStorageSystem
|
||||
if (!_uiSystem.IsUiOpen(uid, args.UiKey))
|
||||
{
|
||||
storageComp.IsUiOpen = false;
|
||||
UpdateStorageVisualization(uid, storageComp);
|
||||
UpdateAppearance((uid, storageComp, null));
|
||||
|
||||
if (storageComp.StorageCloseSound is not null)
|
||||
Audio.Play(storageComp.StorageCloseSound, Filter.Pvs(uid, entityManager: EntityManager), uid, true, storageComp.StorageCloseSound.Params);
|
||||
|
||||
Reference in New Issue
Block a user