DEG-15 [Fix] 피드백 반영
This commit is contained in:
parent
ecc280b86f
commit
a10f257d1c
@ -24,11 +24,12 @@ public class GameManager : Singleton<GameManager>
|
||||
if (playerStats == null)
|
||||
{
|
||||
playerStats = FindObjectOfType<PlayerStats>();
|
||||
if (playerStats == null)
|
||||
{
|
||||
Debug.LogError("PlayerStats 컴포넌트를 찾을 수 없습니다. 함께 추가해주세요.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (playerStats == null)
|
||||
{
|
||||
Debug.LogError("PlayerStats 컴포넌트를 찾을 수 없습니다.");
|
||||
return;
|
||||
}
|
||||
playerStats.OnDayEnded += AdvanceDay;
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ public class PlayerStats : MonoBehaviour
|
||||
else if (actionType == ActionType.OverSlept) // 늦잠, 오전 8시에 행동을 결정하기에 하루 지남 X
|
||||
{
|
||||
// 다음 날 오후 3~6시 사이 기상, 추가 체력 회복
|
||||
float randomWakeUpTime = Random.Range(15, 18);
|
||||
float randomWakeUpTime = Random.Range(15, 19);
|
||||
TimeStat = randomWakeUpTime;
|
||||
|
||||
// 추가 체력 회복
|
||||
@ -112,7 +112,7 @@ public class PlayerStats : MonoBehaviour
|
||||
isDayEnded = !isEarlyMorning;
|
||||
|
||||
// 다음 날 오후 3~6시 사이 기상
|
||||
float randomWakeUpTime = Random.Range(15, 18);
|
||||
float randomWakeUpTime = Random.Range(15, 19);
|
||||
TimeStat = randomWakeUpTime;
|
||||
}
|
||||
else // 수면 이외의 행동
|
||||
|
Loading…
x
Reference in New Issue
Block a user