Finalizing...
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Scampz.GameJam.Assets.Scripts.Player
|
||||
{
|
||||
private void Update()
|
||||
{
|
||||
if (UnlockSanctumState.Instance.VoidOpened)
|
||||
if (UnlockSanctumState.Instance != null && UnlockSanctumState.Instance.VoidOpened)
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user