fix true completion green tick
This commit is contained in:
parent
08859f652c
commit
9cb803edb1
3 changed files with 7 additions and 3 deletions
|
|
@ -462,7 +462,9 @@ function CheckExtendedCompletion(db) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (intro.extendedCompletionDone >= intro.extendedCompletionTotal) {
|
if (intro.extendedCompletionDone >= intro.extendedCompletionTotal) {
|
||||||
gameCompletionExtended.icon === "green";
|
gameCompletionExtended.icon = "green";
|
||||||
|
} else {
|
||||||
|
gameCompletionExtended.icon = "red";
|
||||||
}
|
}
|
||||||
|
|
||||||
var percent = intro.extendedCompletionDone / intro.extendedCompletionTotal * 100;
|
var percent = intro.extendedCompletionDone / intro.extendedCompletionTotal * 100;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -574,7 +574,9 @@ function CheckExtendedCompletion(db) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (intro.extendedCompletionDone >= intro.extendedCompletionTotal) {
|
if (intro.extendedCompletionDone >= intro.extendedCompletionTotal) {
|
||||||
gameCompletionExtended.icon === "green";
|
gameCompletionExtended.icon = "green";
|
||||||
|
} else {
|
||||||
|
gameCompletionExtended.icon = "red";
|
||||||
}
|
}
|
||||||
|
|
||||||
let percent = (intro.extendedCompletionDone / intro.extendedCompletionTotal) * 100;
|
let percent = (intro.extendedCompletionDone / intro.extendedCompletionTotal) * 100;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue