mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 07:08:55 +01:00
[MIRROR] Unit Test rework & Master/Ticker update (#11372)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: C.L. <killer65311@gmail.com>
This commit is contained in:
@@ -10,11 +10,11 @@ GLOBAL_LIST_EMPTY(map_templates_loaded)
|
||||
|
||||
/datum/map_template/proc/on_map_loaded(z)
|
||||
//We missed air init!
|
||||
if(SSair.subsystem_initialized)
|
||||
if(SSair.initialized)
|
||||
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(SSlighting.subsystem_initialized)
|
||||
if(SSlighting.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()
|
||||
|
||||
Reference in New Issue
Block a user