Skip to content

Commit 89bf882

Browse files
authored
Fixes eternal candle boxes appearing empty on spawn (#27008)
* Fixes candle boxes appearing empty on mapload * bad idea to blanket * Update code/game/objects/items/weapons/storage/fancy.dm Signed-off-by: 1080pCat <[email protected]> * contra review --------- Signed-off-by: 1080pCat <[email protected]>
1 parent 4c1ba17 commit 89bf882

File tree

1 file changed

+3
-2
lines changed
  • code/game/objects/items/weapons/storage

1 file changed

+3
-2
lines changed

code/game/objects/items/weapons/storage/fancy.dm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@
103103
throwforce = 2
104104
slot_flags = SLOT_FLAG_BELT
105105

106-
/obj/item/storage/fancy/candle_box/full
107-
icon_state = "candlebox5"
106+
/obj/item/storage/fancy/candle_box/Initialize(mapload)
107+
. = ..()
108+
update_icon(UPDATE_ICON_STATE)
108109

109110
/obj/item/storage/fancy/candle_box/full/populate_contents()
110111
for(var/I in 1 to storage_slots)

0 commit comments

Comments
 (0)