null check for dithering oops

This commit is contained in:
JohnCorby 2022-01-01 01:53:23 -08:00
parent 3e478ceda4
commit d7649f1ebb

View File

@ -29,7 +29,7 @@ namespace QSB.Player
public ClientState State { get; set; }
public EyeState EyeState { get; set; }
public bool IsDead { get; set; }
public bool Visible => DitheringAnimator._visible;
public bool Visible => DitheringAnimator != null && DitheringAnimator._visible;
public bool IsReady { get; set; }
public bool IsInMoon { get; set; }
public bool IsInShrine { get; set; }