Changed Done! for new timer format (Issue #85)
This commit is contained in:
@@ -567,7 +567,12 @@ CM.Disp.GetTimeColor = function(price, bank, cps) {
|
|||||||
var text;
|
var text;
|
||||||
if (bank >= price) {
|
if (bank >= price) {
|
||||||
color = CM.Disp.colorGreen;
|
color = CM.Disp.colorGreen;
|
||||||
text = 'Done!';
|
if (CM.Config.TimeFormat) {
|
||||||
|
text = '00:00:00:00:00';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
text = 'Done!';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
var time = (price - bank) / cps;
|
var time = (price - bank) / cps;
|
||||||
|
|||||||
@@ -60,7 +60,12 @@ CM.Disp.GetTimeColor = function(price, bank, cps) {
|
|||||||
var text;
|
var text;
|
||||||
if (bank >= price) {
|
if (bank >= price) {
|
||||||
color = CM.Disp.colorGreen;
|
color = CM.Disp.colorGreen;
|
||||||
text = 'Done!';
|
if (CM.Config.TimeFormat) {
|
||||||
|
text = '00:00:00:00:00';
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
text = 'Done!';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
var time = (price - bank) / cps;
|
var time = (price - bank) / cps;
|
||||||
|
|||||||
Reference in New Issue
Block a user