修正匹配房间默认连接数设置错误的bug

This commit is contained in:
zhl 2021-02-25 10:18:57 +08:00
parent 3f02d3a3e9
commit 32f15b8bb5

View File

@ -25,7 +25,7 @@ import { Service } from '../service/Service'
export class GeneralRoom extends Room {
dispatcher = new Dispatcher(this);
maxClients = 2;
maxClients = 4;
score = 0;
battleMan = new BattleHandler();
// 用于游戏过程中各种计时器, 使用该计时器的前提是, 只针对当前操作玩家