!= to !==
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user