Changed Done! for new timer format (Issue #85)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user