비동기 호출 및 레퍼런스 비교 변경

This commit is contained in:
Jeonghyeon Ha 2025-08-19 18:49:14 +09:00
parent 9632879fe0
commit 19c2580dc7
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ private void ApplyOutlineType(InteractionOutlineType type)
private bool IsPlayerFocusing()
{
return _interactor?.GetFocusedInteractable() == _interactionComponent;
return ReferenceEquals(_interactor?.GetFocusedInteractable(), _interactionComponent);
}
private bool CanExecuteInteraction()

View File

@ -9,7 +9,7 @@ public bool ExecuteInteraction(IInteractor interactor, IInteractable interactabl
{
if (CanExecuteInteraction() == false) return false;
GameFlowManager.Instance.ChangeFlow(GameFlowState.RunRestaurant);
_ = GameFlowManager.Instance.ChangeFlow(GameFlowState.RunRestaurant);
return true;
}