Fixed a bug with large numbers and chain calculations (Thanks to an anonymous wikia user)

This commit is contained in:
Aktanusa
2014-10-19 22:52:08 -04:00
parent cd18b1a402
commit b9486e9895
3 changed files with 22 additions and 22 deletions

View File

@@ -2,7 +2,7 @@
* Sim *
*******/
CM.Sim.BuildingGetPrice = function (basePrice, start, increase) {
CM.Sim.BuildingGetPrice = function(basePrice, start, increase) {
var totalPrice = 0;
var count = 0;
while(count < increase) {