show save game version
This commit is contained in:
parent
6594632aa0
commit
00edbd9ea3
4 changed files with 6 additions and 1 deletions
|
|
@ -353,6 +353,9 @@ function CheckCompletionPercent(divId, completionPercentage) {
|
|||
function CheckSaveFileVersion(divId, saveVersion = HK.SECTION.intro.entries.saveVersion.spoiler) {
|
||||
|
||||
CurrentDataBlank();
|
||||
|
||||
divId.entries.saveVersion.spoiler = `${saveVersion}`;
|
||||
|
||||
let textFill = `Save Version:${pSpan}<b>${saveVersion}</b>${pSpan}`;
|
||||
// document.getElementById(divId.id).innerHTML += divStart + completionSymbol + textFill + divEnd;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -329,6 +329,7 @@ function SingleEntryFill(section, entry) {
|
|||
|
||||
if (entry.name === "Game Completion:") textSuffix = `${entry.spoiler} %`;
|
||||
|
||||
/* Optimized only for the "intro" section! */
|
||||
if (entry.hasOwnProperty("spoilerAfter")) {
|
||||
spoilerAfter = `</b> ${entry.spoilerAfter}`;
|
||||
span[1] = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue