mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Port current /tg/ lighting system
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
for(var/turf/simulated/T in block(locate(1,1,z), locate(world.maxx, world.maxy, z)))
|
||||
T.update_air_properties()
|
||||
//We missed sslighting init!
|
||||
if(lighting_overlays_initialised)
|
||||
if(SSlighting.subsystem_initialized)
|
||||
for(var/Trf in block(locate(1,1,z), locate(world.maxx, world.maxy, z)))
|
||||
var/turf/T = Trf //faster than implicit istype with typed for loop
|
||||
T.lighting_build_overlay()
|
||||
|
||||
@@ -159,7 +159,6 @@ GLOBAL_DATUM_INIT(_preloader, /dmm_suite/preloader, new)
|
||||
var/model_key = copytext(line, tpos, tpos + key_len)
|
||||
line_keys[++line_keys.len] = model_key
|
||||
#ifdef TESTING
|
||||
else
|
||||
++turfsSkipped
|
||||
#endif
|
||||
CHECK_TICK
|
||||
|
||||
Reference in New Issue
Block a user