mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-05 23:12:26 +00:00
I CERTAINLY DID NOT MAKE A TYPO WHAT ARE YOU TALKING ABOUT
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user