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

@@ -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