diff --git a/src/views/Stage.ts b/src/views/Stage.ts index 966f4b6..7a832ae 100644 --- a/src/views/Stage.ts +++ b/src/views/Stage.ts @@ -329,7 +329,6 @@ export class Stage extends Laya.Script { } else { this.selectedBlock.setShowNumber(undo.show, 0) } - // this.onSetBlock(this.selectedBlock) this.onUpdateScore() const undos = this.data.get_undos() if (undos.length > 0) { @@ -337,6 +336,7 @@ export class Stage extends Laya.Script { this.selectedBlock = this.blocks[last.index] this.onApplyBlock(this.selectedBlock) } + this.onSetBlock(this.selectedBlock) } }