Commit 3eca51a0 authored by asdf's avatar asdf

修复切换页面底座不换的bug

parent 851ce2d9
......@@ -41,7 +41,7 @@ cc.Class({
this.data = data;
this.index = index;
this.loadDragonBone();
if (index & 2 == 0) {
if (GameData.questionIndex % 2 == 0) {
this.sprBg.spriteFrame = this.spfBase[0];
} else {
this.sprBg.spriteFrame = this.spfBase[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