Fix: back to main_menu.html

This commit is contained in:
2019-08-15 23:20:16 +09:00
parent fca1b210b8
commit 6e4836fff0
5 changed files with 17 additions and 8 deletions
+6 -5
View File
@@ -269,7 +269,8 @@ var TypingExamination = {
back: function() {
sessionStorageManager.resetPlayingAppData();
location.href = '../../web/client/menu_typing_exam.html';
// location.href = '../../web/client/menu_typing_exam.html';
location.href = '../../web/client/main_menu.html';
},
startGame: function() {
@@ -358,10 +359,10 @@ var TypingExamination = {
var directory = writer + writerID + "/";
var filename = writingInfo["filename"];
var url = path + directory + filename;
if(isDebugMode()) {
url = path + "system/sample.txt";
console.log(url);
}
// if(isDebugMode()) {
// url = path + "system/sample.txt";
// console.log(url);
// }
game.load.onLoadComplete.add(this.completeLoadingWriting, this);
game.load.text("writing", url);