Minor refactor to storage items (#31324)
They now do not call the on exit storage hook when items are being deleted, as well as do not bother to reset a bunch of values we now cache the see contents list for a very small speed boost the fancy storage specific update icon is moved to the fancy storage equivalent proc
This commit is contained in:
committed by
CitadelStationBot
parent
c222fa42f9
commit
bf7f4e6e69
@@ -58,7 +58,9 @@
|
||||
|
||||
/obj/item/storage/fancy/remove_from_storage(obj/item/W, atom/new_location, burn = 0)
|
||||
fancy_open = TRUE
|
||||
return ..()
|
||||
. = ..()
|
||||
//Recall update icon with the fancy item snowflake arg (ugh)
|
||||
update_icon(1)
|
||||
|
||||
/*
|
||||
* Donut Box
|
||||
|
||||
Reference in New Issue
Block a user