gameover重复弹出
This commit is contained in:
@@ -448,6 +448,9 @@ export class Stage extends Laya.Script {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public onApplyCandy(showNumber: number, hint: boolean): void {
|
public onApplyCandy(showNumber: number, hint: boolean): void {
|
||||||
|
if (this.data.get_mistake() >= config.MISTAKE_MAX) {
|
||||||
|
return
|
||||||
|
}
|
||||||
const show = this.selectedBlock.getData().get_show()
|
const show = this.selectedBlock.getData().get_show()
|
||||||
const notes = this.selectedBlock.getData().get_notes()
|
const notes = this.selectedBlock.getData().get_notes()
|
||||||
if (this.selectedBlock.getData().get_checked() === false) {
|
if (this.selectedBlock.getData().get_checked() === false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user