I CERTAINLY DID NOT MAKE A TYPO WHAT ARE YOU TALKING ABOUT

This commit is contained in:
Chinsky
2014-03-07 18:06:17 +04:00
parent 0dd51f338c
commit d6115c97df

View File

@@ -49,7 +49,7 @@ light/proc/Off()
light/proc/CalculateBrightness(turf/T)
if (!atom)
retun 0
return 0
var/square = get_square_dist(atom.x,atom.y,atom.z,T.x,T.y,T.z)
if(square > (radius+2)*(radius+2)) return 0
//+2 offset gives an ambient light effect.