Skip to content

Commit

Permalink
fix ghost eyes
Browse files Browse the repository at this point in the history
  • Loading branch information
misternebula committed Jan 29, 2024
1 parent d0a4758 commit e2222ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QSB/EchoesOfTheEye/Ghosts/WorldObjects/QSBGhostEffects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void Update_Effects()
var closestPlayer = QSBPlayerManager.GetClosestPlayerToWorldPoint(AttachedObject.transform.position, true);
var num5 = (closestPlayer?.AssignedSimulationLantern?.AttachedObject?.GetLanternController()?.GetLight()?.GetFlickerScale() - 1f + 0.07f) / 0.14f ?? 0;
num5 = Mathf.Lerp(0.7f, 1f, num5);
AttachedObject.SetEyeGlow(AttachedObject._eyeGlow * num3);
AttachedObject.SetEyeGlow(AttachedObject._eyeGlow * num5);

if (AttachedObject._playingDeathSequence)
{
Expand Down

0 comments on commit e2222ec

Please sign in to comment.