Commit 0503c238 authored by 李维's avatar 李维

修复step错误

parent b96b8a17
...@@ -558,7 +558,7 @@ cc.Class({ ...@@ -558,7 +558,7 @@ cc.Class({
this.isLast = data.last // this.checkIsLast(); this.isLast = data.last // this.checkIsLast();
this.playTimes = data.playTime// this.checkPlayTimes(); this.playTimes = data.playTime// this.checkPlayTimes();
if(data.saveData == null) { if(data.saveData == null) {
this.jumpData = {step: 1} this.jumpData = {step: 0}
} else { } else {
data.saveData.step++; data.saveData.step++;
this.jumpData = data.saveData; this.jumpData = data.saveData;
......
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