From a09e46cabaebbd0c2d0d20d928f9dd724bd54731 Mon Sep 17 00:00:00 2001 From: Ino Date: Wed, 10 Sep 2025 17:41:08 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=80=EA=B8=B0=20=EC=95=88=20=EB=82=98?= =?UTF-8?q?=EC=98=A4=EB=8A=94=20=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/UI/Popup/ResultPopup.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/UI/Popup/ResultPopup.cs b/Assets/Scripts/UI/Popup/ResultPopup.cs index 15a3aa2..42a99b0 100644 --- a/Assets/Scripts/UI/Popup/ResultPopup.cs +++ b/Assets/Scripts/UI/Popup/ResultPopup.cs @@ -331,7 +331,11 @@ public class ResultPopup : PopupBase m_ResultxList.Set(list_xinfo); t_enemygold.text = gos_bankrupt[0].activeSelf ? "0냥" : CodeJay.CodeJayUtility.Converter.MoneyToString(GameManager.DB.GetRemainigNormalGameAIGold()); t_mygold.text = CodeJay.CodeJayUtility.Converter.MoneyToString(GameManager.DB.Gold); - if (GamePanel.Instance.Player_Milgi > 0) NormalGameObjects[1].SetActive(false); + if (GamePanel.Instance.Player_Milgi > 0) + { + GamePanel.Instance.Player_Milgi = 0; + NormalGameObjects[1].SetActive(false); + } GameManager.Event.InvokeEvent(EEventType.OnSynchronizeGold); GameManager.Event.InvokeEvent(EEventType.OnGameEnd); @@ -419,7 +423,11 @@ public class ResultPopup : PopupBase gos_bankrupt[0].GetComponent().DOFade(1f, 1f).From(0f).SetEase(Ease.InExpo); t_enemygold.text = "0냥"; t_mygold.text = CodeJay.CodeJayUtility.Converter.MoneyToString(GameManager.DB.Gold); - if (GamePanel.Instance.Player_Milgi > 0) NormalGameObjects[1].SetActive(false); + if (GamePanel.Instance.Player_Milgi > 0) + { + GamePanel.Instance.Player_Milgi = 0; + NormalGameObjects[1].SetActive(false); + } GameManager.Event.InvokeEvent(EEventType.OnSynchronizeGold); GameManager.Event.InvokeEvent(EEventType.OnGameEnd);