gameover重复弹出

This commit is contained in:
2025-06-16 14:06:35 +08:00
parent 86a4eab71b
commit 79f2ae6a27

View File

@@ -448,6 +448,9 @@ export class Stage extends Laya.Script {
}
public onApplyCandy(showNumber: number, hint: boolean): void {
if (this.data.get_mistake() >= config.MISTAKE_MAX) {
return
}
const show = this.selectedBlock.getData().get_show()
const notes = this.selectedBlock.getData().get_notes()
if (this.selectedBlock.getData().get_checked() === false) {