Fixes mechs breaking lights by walking onto them

Fixes #17271
This commit is contained in:
MrPerson
2016-06-23 02:51:55 -07:00
parent ddaeb722ca
commit df637898ef
+1 -3
View File
@@ -129,12 +129,10 @@
if(AM == owner)
continue
if(AM.opacity)
range = 0
range = 1
break
owner.luminosity = range
if (!range)
return 0
var/center_strength = 0
if (cap <= 0)
center_strength = LIGHTING_CAP/LIGHTING_LUM_FOR_FULL_BRIGHT*(luminosity)