Fix accidental global leakage (#250)

* Fix accidental global leakage
This commit is contained in:
Rune Tynan
2020-11-23 10:50:32 -05:00
committed by GitHub
parent 011698a3c9
commit deb309c08f
2 changed files with 2 additions and 2 deletions

View File

@@ -342,7 +342,7 @@ CM.Sim.CalculateGains = function() {
mult *= CM.Sim.getCPSBuffMult();
// Pointless?
name = Game.bakeryName.toLowerCase();
var name = Game.bakeryName.toLowerCase();
if (name == 'orteil') mult *= 0.99;
else if (name == 'ortiel') mult *= 0.98; //or so help me