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

@@ -677,7 +677,7 @@ MonoBehaviour:
m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_PointAction: {fileID: -1654692200621890270, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_MoveAction: {fileID: -8784545083839296357, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_SubmitAction: {fileID: 392368643174621059, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_SubmitAction: {fileID: 0}
m_CancelAction: {fileID: 7727032971491509709, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_LeftClickAction: {fileID: 3001919216989983466, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
m_MiddleClickAction: {fileID: -2185481485913320682, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}

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();