Update files
This commit is contained in:
@@ -250,7 +250,7 @@
|
||||
icon_state = "tube-empty"
|
||||
start_with_cell = FALSE
|
||||
|
||||
/obj/machinery/light/built/Initialize()
|
||||
/obj/machinery/light/built/Initialize(mapload)
|
||||
. = ..()
|
||||
status = LIGHT_EMPTY
|
||||
update(0)
|
||||
@@ -259,7 +259,7 @@
|
||||
icon_state = "bulb-empty"
|
||||
start_with_cell = FALSE
|
||||
|
||||
/obj/machinery/light/small/built/Initialize()
|
||||
/obj/machinery/light/small/built/Initialize(mapload)
|
||||
. = ..()
|
||||
status = LIGHT_EMPTY
|
||||
update(0)
|
||||
@@ -267,7 +267,7 @@
|
||||
|
||||
|
||||
// create a new lighting fixture
|
||||
/obj/machinery/light/Initialize()
|
||||
/obj/machinery/light/Initialize(mapload)
|
||||
. = ..()
|
||||
if(start_with_cell && !no_emergency)
|
||||
cell = new/obj/item/stock_parts/cell/emergency_light(src)
|
||||
@@ -797,7 +797,7 @@
|
||||
desc = "A broken [name]."
|
||||
|
||||
|
||||
/obj/item/light/Initialize()
|
||||
/obj/item/light/Initialize(mapload)
|
||||
. = ..()
|
||||
update()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user