Skip to content

Commit ea45871

Browse files
github-actionsClaytonTDM
andcommitted
Format "Implement StorageUtil for cross-context storage management and update references in existing scripts"
Original commit: 8863763 Co-authored-by: ClaytonTDM <[email protected]>
1 parent 8863763 commit ea45871

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

game/images/Zombies/CX/v.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4c472e671bedb54049e10efbbb76677baf0288fb
1+
8863763cac3781eb11d43429a023595d01e4e607

game/js/Custom.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ let checkInterval = setInterval(() => {
157157
console.log(`Starting adventure with level: ${hLvl}`);
158158
StartAdventure(hLvl);
159159
};
160-
} else if (typeof StorageUtil.getItem("level") === "undefined") {
161-
$("dAdventure").onclick = function () {
162-
console.log("Starting adventure with level: " + StorageUtil.getItem("level") + " (from localStorage)");
163-
StartAdventure(StorageUtil.getItem("level"));
160+
} else if (typeof StorageUtil.getItem("level") === "undefined") {
161+
$("dAdventure").onclick = function () {
162+
console.log("Starting adventure with level: " + StorageUtil.getItem("level") + " (from localStorage)");
163+
StartAdventure(StorageUtil.getItem("level"));
164164
};
165165
} else {
166166
$("dAdventure").onclick = function () {

0 commit comments

Comments
 (0)