mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
FixCandles (#34482)
This commit is contained in:
@@ -15,6 +15,17 @@
|
||||
var/flavor_text
|
||||
var/trashtype = /obj/item/trash/candle
|
||||
|
||||
/obj/item/candle/New(turf/loc)
|
||||
..()
|
||||
if(world.has_round_started())
|
||||
initialize()
|
||||
|
||||
/obj/item/candle/initialize()
|
||||
..()
|
||||
if (lit)//pre-mapped lit candles
|
||||
lit = 0
|
||||
light("",TRUE)
|
||||
|
||||
/obj/item/candle/update_icon()
|
||||
overlays.len = 0
|
||||
var/i
|
||||
|
||||
Reference in New Issue
Block a user