From 77c57686bfb3ad8f39e8a4cfff514d3134cfa47e Mon Sep 17 00:00:00 2001 From: Eric Fredricksen Date: Thu, 9 Dec 2021 10:24:58 -0800 Subject: [PATCH] Fix characters with spaces in their names --- NOTES | 8 -------- README | 4 ---- newguy.js | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/NOTES b/NOTES index 83adf04..dd5633e 100644 --- a/NOTES +++ b/NOTES @@ -1,14 +1,6 @@ -// After launch -// TODO: No local storage on IE - why? -// TODO: Do something about background-size failure on IE. -// TODO: Stop using HTML to save the game -// TODO: Get fully operational in Opera -// TODO: Online leader board -// TODO: Server side saves // TODO: Active controls on fake Xp screen // TODO: Refactor logic to run with visible interface as a layer on top // TODO: Charsheet in some more pleasing delivery method -// TODO: Use a cookie rather than a fragment to choose char? // TODO: Line up things on main.html perfectly // TODO: Finalize borders in sections of main // TODO: Better ipad support diff --git a/README b/README index 64ad972..b28459a 100644 --- a/README +++ b/README @@ -7,7 +7,3 @@ to JavaScript. - Progress Quest site: http://progressquest.com/ - Play it here: http://progressquest.com/play/ - Original version: https://bitbucket.org/grumdrig/pq - -The whole thing runs in the browser, on the client side, using HTML5 -storage and so forth; there's no server side other than hosting static -files. To run your own copy, clone this repo, and open index.html. diff --git a/newguy.js b/newguy.js index 7b129f9..8e0608d 100644 --- a/newguy.js +++ b/newguy.js @@ -193,7 +193,7 @@ function sold() { function charIsBorn(newguy) { storage.addToRoster(newguy, function () { - window.location.href = "main.html#" + UrlEncode(newguy.Traits.Name); + window.location.href = "main.html#" + newguy.Traits.Name; }); }