mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-12-11 20:15:10 +01:00
fix ghost eyes
This commit is contained in:
parent
d0a47580ee
commit
e2222ecc9d
@ -103,7 +103,7 @@ public class QSBGhostEffects : WorldObject<GhostEffects>, IGhostObject
|
||||
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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user