From e38272903ed134b8b4901ec97ee8ccc28b1c83cf Mon Sep 17 00:00:00 2001 From: Prown0 <100746335+Prown0@users.noreply.github.com> Date: Sun, 22 Dec 2024 00:05:46 +0900 Subject: [PATCH] Anomaly No. 7 --- .../Scripts/SpecificAnomalyManager/Anomaly07Controller.cs | 2 +- 302/Assets/Scripts/SpecificAnomalyManager/Anomaly07_Gun.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly07Controller.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly07Controller.cs index 56ccf96..9a87eb2 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly07Controller.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly07Controller.cs @@ -1,6 +1,6 @@ using UnityEngine; -public class Anomaly07Controller : AbstractAnomalyComposite +public class Anomaly07Controller : AbstractAnomalyObject { [Header("Russian Roulette Settings")] [SerializeField] private GameObject gunPrefab; diff --git a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly07_Gun.cs b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly07_Gun.cs index e23cf99..45ccb52 100644 --- a/302/Assets/Scripts/SpecificAnomalyManager/Anomaly07_Gun.cs +++ b/302/Assets/Scripts/SpecificAnomalyManager/Anomaly07_Gun.cs @@ -159,6 +159,7 @@ private IEnumerator DelayedGameOver() { // GameOver가 총소리보다 먼저 실행되지 않도록 약간의 딜레이 yield return new WaitForSeconds(0.15f); + PlayerManager.Instance.SetSpecialState(false); PlayerManager.Instance.GameOver(); }