ChangeTurf()... We meet again...

This commit is contained in:
Aryn
2014-02-24 06:39:50 -07:00
committed by ZomgPonies
parent 4b78bd469b
commit 1712fc6a42
2 changed files with 7 additions and 2 deletions

View File

@@ -162,6 +162,11 @@ turf/proc/RemoveLight(light/light)
ResetValue()
if(!lit_by.len) lit_by = null
//Only called by ChangeTurf, because it really needs it.
turf/proc/ResetAllLights()
for(var/light/light in lit_by)
light.Reset()
turf/proc/ResetValue()
if(is_outside)
max_brightness = lighting_controller.starlight