Commit b96b8a17 authored by 李维's avatar 李维

调整跳转逻辑

parent f6273439
......@@ -557,7 +557,12 @@ cc.Class({
this.isFirst = data.first; //this.checkIsFirst();
this.isLast = data.last // this.checkIsLast();
this.playTimes = data.playTime// this.checkPlayTimes();
this.jumpData = data.saveData // this.getJumpData();
if(data.saveData == null) {
this.jumpData = {step: 1}
} else {
data.saveData.step++;
this.jumpData = data.saveData;
}
if (this.data.isDebug) {
this.playTimes += 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment