Fixed a bug with Game's Setting Scale not showing fractional numbers like the original (Issue #43)

This commit is contained in:
Aktanusa
2015-11-05 22:15:16 -05:00
parent 56903744d8
commit f1ccbf8937
2 changed files with 4 additions and 4 deletions

View File

@@ -386,7 +386,7 @@ CM.Disp.GetTimeColor = function(price, bank, cps) {
return {text: text, color: color};
}
CM.Disp.Beautify = function(num) {
CM.Disp.Beautify = function(num, frac) {
if (CM.Config.Scale != 0 && isFinite(num)) {
var answer = '';
var negative = false;
@@ -419,7 +419,7 @@ CM.Disp.Beautify = function(num) {
return answer;
}
else {
return CM.Backup.Beautify(num);
return CM.Backup.Beautify(num, frac);
}
}