diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly30Manager.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly30Manager.cs index 2ecacfa..60e0f56 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly30Manager.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly30Manager.cs @@ -24,7 +24,6 @@ void Start() gameManager = GameObject.Find("GameManager").GetComponent(); player = GameObject.Find("Player"); mainCamera = Camera.main; - Transform windowsParent = GameObject.Find("Classroom/WallLeft/windows").transform; windows = new GameObject[10]; @@ -122,7 +121,6 @@ public void PlayerDieFromStorm(Vector3 windowPosition) Vector3 targetPosition = new Vector3(this.player.transform.position.x, this.player.transform.position.y, -15f); StartCoroutine(MovePlayerToPosition(targetPosition)); - PlayerController playerController = this.player.GetComponent(); playerController.Sleep(); @@ -151,6 +149,7 @@ private IEnumerator CallGameManagerSleepAfterDelay(float delay) if (gameManager != null) { + gameManager.SetStageNoClear(); // 혹시 날라갈동안 Anomaly time이 끝나서 성공할 수도 있으니 gameManager.Sleep(); } }