밀기 안 나오는 버그 수정

This commit is contained in:
Ino 2025-09-10 17:41:08 +09:00
parent 2d14f9b0d3
commit a09e46caba
1 changed files with 10 additions and 2 deletions

View File

@ -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<Image>().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);