Refactor code
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Assets.Scripts.Actions
|
||||
|
||||
public void ApplyAction(Player playerController)
|
||||
{
|
||||
playerController.PlayerStats[StatsId.Energy].increase(_energyPerTick);
|
||||
playerController.Stats[StatsId.Energy].increase(_energyPerTick);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user