Rename Return On Investment to Payback Period to fit what the number represents better (Issue #68)

This commit is contained in:
Aktanusa
2016-03-27 17:57:50 -04:00
parent 57ab55a2c1
commit 5d0958b63a
6 changed files with 121 additions and 119 deletions

View File

@@ -106,6 +106,7 @@ CM.Loop = function() {
CM.Sim.DoSims = 0;
}
// Check for aura change to recalculate buildings prices
var hasFierHoard = Game.hasAura('Fierce Hoarder');
if (!CM.Cache.HadFierHoard && hasFierHoard) {
CM.Cache.HadFierHoard = true;
@@ -121,8 +122,8 @@ CM.Loop = function() {
CM.Cache.DoRemakeBuildPrices = 0;
}
// Calculate ROI
CM.Cache.RemakeROI();
// Calculate PP
CM.Cache.RemakePP();
// Update colors
CM.Disp.UpdateBotBarOther();