private void CrewInteract() { ResourcesManager resourcesManager = GameManager.m_instance.m_resourcesManager; if (resourcesManager.GetWoodCount() >= m_woodRepairCost) { ModHp(10); resourcesManager.AddWood(-m_woodRepairCost); } }
private void Repair() { ResourcesManager resourcesManager = GameManager.m_instance.m_resourcesManager; if (resourcesManager.GetWoodCount() >= m_woodRepairCost) { ModHp(10); ResetCharge(); resourcesManager.AddWood(-m_woodRepairCost); } }