mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Close storage UI when item becomes inaccessible (#14536)
* add hide_from_all to storage objects, to call by something once it's locked/close * lockers call hide_from_all on stored storage items * secure storage calls hide_from_all on lock * throwing storage closes it * adding storage to a disposal chute closes it * adding storage to a crate closes it * adding storage to the destructive analyzer closes it
This commit is contained in:
@@ -147,6 +147,7 @@
|
||||
else
|
||||
if((href_list["type"] == "R") && (emagged == 0) && (!l_setshort))
|
||||
locked = 1
|
||||
hide_from_all()
|
||||
overlays = null
|
||||
code = null
|
||||
close(usr)
|
||||
|
||||
Reference in New Issue
Block a user