mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 22:47:59 +01:00
Fixes machines not registering on new area's powernet when it is created (#26985)
* Machines are now moved to the new power net when a new area is created where they are * Moves the machine reregistration to /turf/proc/change_area(area/old_area, area/new_area)
This commit is contained in:
@@ -98,6 +98,8 @@
|
||||
lighting_build_overlay()
|
||||
else
|
||||
lighting_clear_overlay()
|
||||
for(var/obj/machinery/machine in contents)
|
||||
machine.reregister_machine()
|
||||
|
||||
/turf/proc/generate_missing_corners()
|
||||
if(!IS_DYNAMIC_LIGHTING(src) && !light_sources)
|
||||
|
||||
Reference in New Issue
Block a user