Fix unload bug and spelling of neckerchief

This commit is contained in:
Eric Fredricksen
2010-07-06 13:30:29 -07:00
parent d40de57287
commit 7710efc12b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -503,7 +503,7 @@ K.Monsters = [
"Beholder|10|eyestalk", "Beholder|10|eyestalk",
"Black Pudding|10|saliva", "Black Pudding|10|saliva",
"Blink Dog|4|eyelid", "Blink Dog|4|eyelid",
"Cub Scout|1|neckercheif", "Cub Scout|1|neckerchief",
"Girl Scout|2|cookie", "Girl Scout|2|cookie",
"Boy Scout|3|merit badge", "Boy Scout|3|merit badge",
"Eagle Scout|4|merit badge", "Eagle Scout|4|merit badge",
+1 -1
View File
@@ -1155,7 +1155,7 @@ function LoadGame(sheet) {
StartTimer(); StartTimer();
} }
$(document).unload(function () { $(window).unload(function () {
StopTimer(); StopTimer();
SaveGame(); SaveGame();
}); });