Refactor code

This commit is contained in:
Vladimir Koshevarov
2023-02-28 16:19:40 +02:00
parent dad45af7a9
commit b71fa6a9eb
13 changed files with 65 additions and 71 deletions
@@ -59,7 +59,7 @@ public class ConversationController : MonoBehaviour
_selectedAction = action;
if (action is ISellable)
{
_btnApply.interactable = Player.Instance.PlayerStats[StatsId.Money].Value >= (action as ISellable).Price;
_btnApply.interactable = Player.Instance.Stats[StatsId.Money].Value >= (action as ISellable).Price;
}
}