diff --git a/tgx-games-client/assets/module_basic/scripts/FrontConfig.ts b/tgx-games-client/assets/module_basic/scripts/FrontConfig.ts index a8a818e..43c524d 100644 --- a/tgx-games-client/assets/module_basic/scripts/FrontConfig.ts +++ b/tgx-games-client/assets/module_basic/scripts/FrontConfig.ts @@ -17,6 +17,6 @@ export const GameServerListFileURL = '';//'http://192.168.0.104:7456/web-mobile/ export const GameServerURLs = [ // 'wss://chengchennet.cn:15005',//wss远程链接 // 'ws://118.195.174.30:3001',//ws远程连接 - //'ws://127.0.0.1:3002',//ws本地连接 - 'wss://squidgameserver.gryphon.fun' + 'ws://127.0.0.1:3003',//ws本地连接 + //'wss://squidgameserver.gryphon.fun' ]; \ No newline at end of file diff --git a/tgx-games-server/src/SrvGame/RoomArean.ts b/tgx-games-server/src/SrvGame/RoomArean.ts index 4e874a9..7fb4fbb 100644 --- a/tgx-games-server/src/SrvGame/RoomArean.ts +++ b/tgx-games-server/src/SrvGame/RoomArean.ts @@ -454,6 +454,8 @@ export class RoomArean extends Room { gameBattle() { this.broadcastMsg("arean/AreanGameStatusPush", this.gameStatus); + + setTimeout(() => { this.updateGameStatus(stage.career, Number(this.parameterCfg?.getItemCfg('selectJobTime').params)) let battleTime = 3; @@ -546,7 +548,10 @@ export class RoomArean extends Room { this.broadcastMsg('arean/AreanGameDataPush', { gameData: this._gameData }); if (stage == GameStage.GameBattle) { - this.gameBattle(); + + + //关卡逻辑 + //this.gameBattle(); } }