diff --git a/.DS_Store b/.DS_Store index 276884b..9bd2f17 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/wymga/park.html b/wymga/park.html index 632cd0b..5b13c19 100644 --- a/wymga/park.html +++ b/wymga/park.html @@ -228,7 +228,7 @@ window.localStorage.setItem("park","opened") console.log ("park:",localStorage.park) document.querySelector('#player_name').innerHTML = localStorage.playerName; - + /* //exhibition setting - deletes previous history everytime the journey starts again var avatar_image = localStorage.getItem('myavatar'); @@ -241,9 +241,10 @@ window.localStorage.setItem("park","opened") console.log ("park:",localStorage.park) document.querySelector('#player_name').innerHTML = localStorage.playerName; + */ //ordinary setting : asks the player whether they want to remove their history or not - /* + if (localStorage.final === "opened" ) { $(".memory").show(); $(".text_container").hide(); @@ -271,7 +272,7 @@ document.querySelector('#player_name').innerHTML = localStorage.playerName; }); } - */ + } // open newspaper