Changed Done! for new timer format (Issue #85)

This commit is contained in:
Aktanusa
2016-05-02 22:58:44 -04:00
parent eea4656094
commit 76cc63e510
2 changed files with 12 additions and 2 deletions

View File

@@ -567,8 +567,13 @@ CM.Disp.GetTimeColor = function(price, bank, cps) {
var text;
if (bank >= price) {
color = CM.Disp.colorGreen;
if (CM.Config.TimeFormat) {
text = '00:00:00:00:00';
}
else {
text = 'Done!';
}
}
else {
var time = (price - bank) / cps;
text = CM.Disp.FormatTime(time);

View File

@@ -60,8 +60,13 @@ CM.Disp.GetTimeColor = function(price, bank, cps) {
var text;
if (bank >= price) {
color = CM.Disp.colorGreen;
if (CM.Config.TimeFormat) {
text = '00:00:00:00:00';
}
else {
text = 'Done!';
}
}
else {
var time = (price - bank) / cps;
text = CM.Disp.FormatTime(time);