Closed Nostrademous closed 5 years ago
Apparently mana_max of a unit can be 0 so in the code I added you can get a DivideByZero exception for units that have no mana... like buildings.
Fixing
Apparently mana_max of a unit can be 0 so in the code I added you can get a DivideByZero exception for units that have no mana... like buildings.
Fixing