Fix accidental global leakage (#250)

* Fix accidental global leakage
This commit is contained in:
Rune Tynan authored and GitHub committed 2020-11-23 16:50:32 +01:00
1 parent 011698a3c9
commit deb309c08f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3520,7 +3520,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
+1 -1
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