mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 19:22:56 +00:00
added requested changes
This commit is contained in:
@@ -353,6 +353,13 @@ atom
|
|||||||
if (I.brightness_on > brightness)
|
if (I.brightness_on > brightness)
|
||||||
brightness = I.brightness_on
|
brightness = I.brightness_on
|
||||||
|
|
||||||
|
else
|
||||||
|
for (I in M.contents) //Justin Case
|
||||||
|
if (I)
|
||||||
|
if ((I.light_on) && (I != W)) //an item emitting light other than itself
|
||||||
|
if (I.brightness_on > brightness)
|
||||||
|
brightness = I.brightness_on
|
||||||
|
|
||||||
return brightness
|
return brightness
|
||||||
|
|
||||||
#undef LIGHTING_MAX_LUMINOSITY
|
#undef LIGHTING_MAX_LUMINOSITY
|
||||||
|
|||||||
Reference in New Issue
Block a user