== to ===

This commit is contained in:
2025-05-28 19:15:32 +08:00
parent ccfcc4f840
commit 34eec38036
16 changed files with 64 additions and 64 deletions

View File

@@ -60,7 +60,7 @@ export class TopBar extends Laya.Script {
}
this.btn_classic.on(Laya.Event.CLICK, this, () => {
if (this.isClassic == false) {
if (this.isClassic === false) {
this.onClickTab(true)
}
})
@@ -88,7 +88,7 @@ export class TopBar extends Laya.Script {
const common = evt.target.getComponent(CommonData)
const difficulty = Laya.LocalStorage.getItem("difficulty")
if (common.strValue != difficulty) {
if (Laya.LocalStorage.getItem("showToggle") == "true") {
if (Laya.LocalStorage.getItem("showToggle") === "true") {
const title = "Start New Game"
const content = "Current game progress will be lost"
G_ShowCommonTips(title, content, true, (ok: boolean, toggleValue: boolean) => {