Fix: result record, ranking board bug
This commit is contained in:
@@ -39,17 +39,20 @@ var Result = {
|
||||
|
||||
// contents
|
||||
this.printRecord();
|
||||
this.uploadRecord();
|
||||
if(sessionStorageManager.getMaestroAccountType() < 100) { // experience account
|
||||
this.updateResultRecord();
|
||||
}
|
||||
|
||||
this.makeRestartButton();
|
||||
|
||||
|
||||
if(sessionStorageManager.getMaestroAccountType() >= 100) { // experience account
|
||||
var recordBoard = new RecordBoard(RecordBoard.TYPE_SAMPLE);
|
||||
this.announceBox = new AnnounceBox(50, 648);
|
||||
this.announceBox.drawBox("체험 계정에서는 기록이 저장되지 않습니다.");
|
||||
} else {
|
||||
var recordBoard = new RecordBoard(RecordBoard.TYPE_DB);
|
||||
this.printTodayBestRecord();
|
||||
var recordBoard = new RecordBoard(RecordBoard.TYPE_DB);
|
||||
}
|
||||
|
||||
|
||||
@@ -148,12 +151,8 @@ var Result = {
|
||||
}
|
||||
},
|
||||
|
||||
uploadRecord: function() {
|
||||
if(sessionStorageManager.getMaestroAccountType() >= 100) { // experience account
|
||||
return;
|
||||
}
|
||||
|
||||
this.dbConnectManager.updateAppHighestRecord(
|
||||
updateResultRecord: function() {
|
||||
this.dbConnectManager.updateResultRecord(
|
||||
sessionStorageManager.getMaestroID(),
|
||||
sessionStorageManager.getPlayerID(),
|
||||
sessionStorageManager.getPlayingAppID(),
|
||||
|
||||
Reference in New Issue
Block a user