mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Merge pull request #13681 from Heroman3003/few-things-aaa
Fixes a few minor things
This commit is contained in:
@@ -345,6 +345,7 @@ var/global/list/light_type_cache = list()
|
||||
construct.transfer_fingerprints_to(src)
|
||||
set_dir(construct.dir)
|
||||
else
|
||||
installed_light = new light_type(src)
|
||||
if(start_with_cell && !no_emergency)
|
||||
cell = new/obj/item/weapon/cell/emergency_light(src)
|
||||
var/obj/item/weapon/light/L = get_light_type_instance(light_type) //This is fine, but old code.
|
||||
@@ -859,6 +860,7 @@ var/global/list/light_type_cache = list()
|
||||
s.start()
|
||||
status = LIGHT_BROKEN //This occasionally runtimes when it occurs midround after build mode spawns a broken light. No idea why.
|
||||
installed_light.status = status
|
||||
installed_light.update_icon()
|
||||
update()
|
||||
|
||||
/obj/machinery/light/proc/fix()
|
||||
|
||||
Reference in New Issue
Block a user