From ad58f1203bd5f3de33958360d5b4b147ba370776 Mon Sep 17 00:00:00 2001 From: Ino Date: Sun, 23 Mar 2025 08:18:26 +0900 Subject: [PATCH] =?UTF-8?q?=EB=86=8D=EC=9E=A5=20=EC=98=A4=EB=B8=8C?= =?UTF-8?q?=EC=A0=9D=ED=8A=B8=20=EC=97=90=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Ino_nerdnavis.txt | 2 -- Assets/Script/Character/Object/StoneActor.cs | 2 +- Assets/Script/Main/MainToFarm.cs | 5 +++++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Assets/Ino_nerdnavis.txt b/Assets/Ino_nerdnavis.txt index 46e7e5099..90fd0dc0e 100644 --- a/Assets/Ino_nerdnavis.txt +++ b/Assets/Ino_nerdnavis.txt @@ -70,11 +70,9 @@ messageinfo 엄청 느린 버그 미션 - 가이드 - - 업적 -- 컨텐츠가 없어서 적용안된 미션 있음 - 모두 받기 일일, 주간 초기화 확인 인게임 힘민지 레벨업과 저장 안됨 수상한 미궁 몹 수 이상하고, 안 움직임 - diff --git a/Assets/Script/Character/Object/StoneActor.cs b/Assets/Script/Character/Object/StoneActor.cs index fe57fe433..b9b478740 100644 --- a/Assets/Script/Character/Object/StoneActor.cs +++ b/Assets/Script/Character/Object/StoneActor.cs @@ -67,7 +67,7 @@ public class StoneActor : Actor { // 다음 바위 ServerInfo.Ins.m_ServerData.Add_FarmMaxSlot(); - CoroutineMgr.Ins.Set_Coroutine(MainToFarm.Ins.Set_Obj, 10f); + if (MainToFarm.isIns) MainToFarm.Ins.Set_Stone(10f); } } } \ No newline at end of file diff --git a/Assets/Script/Main/MainToFarm.cs b/Assets/Script/Main/MainToFarm.cs index 66099740c..4c524d1d1 100644 --- a/Assets/Script/Main/MainToFarm.cs +++ b/Assets/Script/Main/MainToFarm.cs @@ -1,3 +1,4 @@ +using System.Collections; using UnityEngine; public class MainToFarm : MonoBehaviourSingletonTemplate @@ -15,6 +16,10 @@ public class MainToFarm : MonoBehaviourSingletonTemplate { Make_Farmer(ServerInfo.Ins.m_ServerData.Get_EqiupmentEquip(eItem.Farmer), false); } + + public void Set_Stone(float delayTime = 10f) { StartCoroutine(Co_SetStone(delayTime)); } + IEnumerator Co_SetStone(float delayTime) { yield return new WaitForSeconds(delayTime); Set_Obj(); } + public void Set_Obj() { if (DSUtil.CheckNull(go_obj))