[Fix] 돌발이벤트패널 null 버그 픽스
This commit is contained in:
parent
c52d8f2c80
commit
15c44f655c
@ -118,6 +118,7 @@ public class InteractionController : MonoBehaviour
|
|||||||
// Interaction Controller와 같은 방식으로 작동됩니다.
|
// Interaction Controller와 같은 방식으로 작동됩니다.
|
||||||
private void SuddenAfterWorkEventHappen()
|
private void SuddenAfterWorkEventHappen()
|
||||||
{
|
{
|
||||||
|
PlayerStats.Instance.OnWorked -= SuddenAfterWorkEventHappen;
|
||||||
AfterWorkEventType afterWorkEventType = SuddenEventCalculator();
|
AfterWorkEventType afterWorkEventType = SuddenEventCalculator();
|
||||||
if (afterWorkEventType == AfterWorkEventType.None) return;
|
if (afterWorkEventType == AfterWorkEventType.None) return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user