This should fix it, why does our init update icons and not TG's?
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
pixel_x = -26
|
||||
|
||||
/obj/machinery/light_switch/Initialize()
|
||||
. = ..()
|
||||
if(istext(area))
|
||||
area = text2path(area)
|
||||
if(ispath(area))
|
||||
@@ -37,7 +36,7 @@
|
||||
|
||||
if(!name)
|
||||
name = "light switch ([area.name])"
|
||||
update_appearance()
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/light_switch/update_appearance(updates=ALL)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user