!= to !==

This commit is contained in:
2025-05-28 20:12:56 +08:00
parent 34eec38036
commit 8da20ab53e
6 changed files with 11 additions and 11 deletions

View File

@@ -130,7 +130,7 @@ export class Block extends Laya.Script {
if (score > 0)
G_ShowScoreTips(score.toString(), this.label_show.parent)
} else {
if (this.data.get_score() != 0)
if (this.data.get_score() !== 0)
this.data.set_score(0)
}
this.data.clean_notes()