null DitheringAnimator usually means the player is visible

This commit is contained in:
JohnCorby 2022-01-21 22:22:46 -08:00
parent 02e419c767
commit e9846952b1

View File

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