Fixes another bug

This commit is contained in:
PJB3005
2015-07-04 17:55:41 +02:00
parent dcbfff8aaa
commit aa30a12125
2 changed files with 4 additions and 5 deletions

View File

@@ -33,7 +33,7 @@
var/holy = 0
var/dynamic_lighting = 1
luminosity = 0
luminosity = 1
/turf/New()
..()
@@ -43,10 +43,6 @@
return
turfs |= src
var/area/A = loc
if(!dynamic_lighting || !A.lighting_use_dynamic)
luminosity = 1
/turf/Destroy()
turfs -= src
..()

View File

@@ -21,6 +21,9 @@
. = ..()
verbs.Cut()
var/turf/T = loc //If this runtimes atleast we'll know what's creating overlays in things that aren't turfs.
T.luminosity = 0
/atom/movable/lighting_overlay/proc/update_lumcount(delta_r, delta_g, delta_b)
if(!delta_r && !delta_g && !delta_b) //Nothing is being changed all together.
return