Skip to content
Snippets Groups Projects
Verified Commit 6fb52b7c authored by Adrian Paschkowski's avatar Adrian Paschkowski :thinking:
Browse files

Fix stats multipliers not saving

parent e65fc700
No related branches found
No related tags found
No related merge requests found
......@@ -113,6 +113,7 @@ public class StatsManager : MonoBehaviour
enemyStats.healthMultiplier = upgrades[UpgradeTypes.ENEMY_HEALTH].GetTotalEffectMultiplier();
enemyStats.damageMultiplier = upgrades[UpgradeTypes.ENEMY_DAMAGE].GetTotalEffectMultiplier();
enemyStats.armorMultiplier = upgrades[UpgradeTypes.ENEMY_ARMOR].GetTotalEffectMultiplier();
fighterStats[FighterTypes.ENEMY] = enemyStats;
}
public float GetTotalEffectMultiplier(UpgradeTypes type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment