From ebc614d372432e60d19aaeef7aa98b54f3710892 Mon Sep 17 00:00:00 2001 From: Ino Date: Wed, 10 Sep 2025 18:01:36 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=9D=EC=97=85=20=ED=9B=84=20->=20=ED=9D=94?= =?UTF-8?q?=EB=93=A4=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/Popup/ShakePopup.cs | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Assets/Scripts/UI/Popup/ShakePopup.cs b/Assets/Scripts/UI/Popup/ShakePopup.cs index 5f911fb..28c4c5e 100644 --- a/Assets/Scripts/UI/Popup/ShakePopup.cs +++ b/Assets/Scripts/UI/Popup/ShakePopup.cs @@ -27,6 +27,14 @@ public class ShakePopup : PopupBase StartCoroutine(coroHide()); GameManager.Sound.PlaySFX(ESFXType.Open_Popup); + GameManager.Event.InvokeEvent(EEventType.OnSynchronizeGameData); + } + + private IEnumerator coroHide() + { + yield return new WaitForSeconds(1.5f); + GameManager.UI.HideTopPopup(); + if (GamePanel.Instance.PlayerTurn) { GamePanel.Instance.EffectPanel.Direct(EEffectDirectType.Bell, true); @@ -37,12 +45,5 @@ public class ShakePopup : PopupBase GamePanel.Instance.EffectPanel.Direct(EEffectDirectType.Bell, true); GamePanel.Instance.AI_Bell++; } - GameManager.Event.InvokeEvent(EEventType.OnSynchronizeGameData); - } - - private IEnumerator coroHide() - { - yield return new WaitForSeconds(1.5f); - GameManager.UI.HideTopPopup(); } }