mirror of
https://bitbucket.org/grumdrig/pq-web.git
synced 2026-09-29 00:34:00 -06:00
Make character load if exists in sim.js
This commit is contained in:
@@ -996,7 +996,7 @@ function pause(msec) {
|
||||
|
||||
function quit() {
|
||||
$(window).unbind('unload');
|
||||
SaveGame(function () { window.location = "roster.html"; });
|
||||
SaveGame(function () { window.location.href = "roster.html"; });
|
||||
}
|
||||
|
||||
|
||||
@@ -1037,7 +1037,7 @@ function SaveGame(callback) {
|
||||
function LoadGame(sheet) {
|
||||
if (!sheet) {
|
||||
alert("Error loading game");
|
||||
window.location = "roster.html";
|
||||
window.location.href = "roster.html";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user