服务器数据清理

This commit is contained in:
LAPTOP-FUTFQGMC\mushroomagician 2025-02-11 10:18:46 +08:00
parent 245a5887b0
commit 09b66ba3b7
2 changed files with 8 additions and 3 deletions

View File

@ -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'
];

View File

@ -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();
}
}