This commit is contained in:
RochesterX
2025-03-07 17:03:46 -05:00
parent a52bf49268
commit 804483f3de
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ public class PlayerMovement : MonoBehaviour
private void Update()
{
if (damageable.dying || GameManager.Instance.gameOver) return;
if (damageable.dying || (GameManager.Instance != null && GameManager.Instance.gameOver)) return;
Jump();