== to ===
This commit is contained in:
@@ -41,7 +41,7 @@ export class GameOver extends Laya.Script {
|
||||
})
|
||||
|
||||
const type = doStage.get_stageType()
|
||||
if (type == config.STAGE_TYPE.MAIN) {
|
||||
if (type === config.STAGE_TYPE.MAIN) {
|
||||
this.label_newOrClose.text = "New Game"
|
||||
this.btn_newOrClose.on(Laya.Event.CLICK, this, (evt: Laya.Event) => {
|
||||
if (config.H_SCREEN) {
|
||||
|
||||
Reference in New Issue
Block a user