mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
Fixes loading zlevels with static lighting. (#38365)
* Fixes loading zlevels with static lighting. * Actually this whole part is unnecessary now because change turf handles the change properly now. * Correct
This commit is contained in:
@@ -86,11 +86,3 @@ SUBSYSTEM_DEF(lighting)
|
||||
/datum/controller/subsystem/lighting/Recover()
|
||||
initialized = SSlighting.initialized
|
||||
..()
|
||||
|
||||
|
||||
/datum/controller/subsystem/lighting/proc/initialize_lighting_objects(list/turfs)
|
||||
for(var/turf/T in turfs)
|
||||
if(!IS_DYNAMIC_LIGHTING(T))
|
||||
continue
|
||||
new/atom/movable/lighting_object(T)
|
||||
CHECK_TICK
|
||||
@@ -59,7 +59,6 @@
|
||||
|
||||
repopulate_sorted_areas()
|
||||
|
||||
SSlighting.initialize_lighting_objects(block(locate(bounds[MAP_MINX], bounds[MAP_MINY], bounds[MAP_MINZ]),locate(bounds[MAP_MAXX], bounds[MAP_MAXY], bounds[MAP_MAXZ])))
|
||||
//initialize things that are normally initialized after map load
|
||||
initTemplateBounds(bounds)
|
||||
smooth_zlevel(world.maxz)
|
||||
|
||||
Reference in New Issue
Block a user