Fixes eyes of the gods bugs (#20266)

This commit is contained in:
Qwertytoforty
2023-01-23 23:28:46 +01:00
committed by GitHub
parent f03b79b456
commit 4efeb71bf8
2 changed files with 5 additions and 1 deletions
@@ -918,7 +918,7 @@ It'll return null if the organ doesn't correspond, so include null checks when u
if(G.invis_override)
H.see_invisible = G.invis_override
else
H.see_invisible = min(G.invis_view, H.see_invisible)
H.see_invisible = max(G.invis_view, H.see_invisible) //Max, whichever is better
if(!isnull(G.lighting_alpha))
H.lighting_alpha = min(G.lighting_alpha, H.lighting_alpha)