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:
oranges
2017-10-09 04:06:43 +13:00
committed by CitadelStationBot
parent c222fa42f9
commit bf7f4e6e69
2 changed files with 27 additions and 17 deletions
+3 -1
View File
@@ -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