From fee0a6e1489dd29b685fc149632d8aff8981d7b3 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Mon, 22 Jun 2015 01:11:26 +0200 Subject: [PATCH] oh god I hope this fixes spess --- code/game/turfs/space/space.dm | 2 ++ code/game/turfs/turf.dm | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code/game/turfs/space/space.dm b/code/game/turfs/space/space.dm index 87ab3a48ae0..0fd7432660d 100644 --- a/code/game/turfs/space/space.dm +++ b/code/game/turfs/space/space.dm @@ -19,6 +19,8 @@ update_starlight() //MC will initialize all the space turfs that get created before config /turf/space/proc/update_starlight() + . = ..() + if(!config) return if(!config.starlight) return diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm index 0392140834c..7adcbf2560c 100644 --- a/code/game/turfs/turf.dm +++ b/code/game/turfs/turf.dm @@ -38,7 +38,8 @@ src.Entered(AM) return - if(!dynamic_lighting) + var/area/A = loc + if(!dynamic_lighting || !A.lighting_use_dynamic) luminosity = 1 // Adds the adjacent turfs to the current atmos processing @@ -431,4 +432,4 @@ if(O.invisibility == 101) O.singularity_act() ChangeTurf(/turf/space) - return(2) \ No newline at end of file + return(2)