From 2ff4981c39f24476295bc4956d6e597e6be7a55d Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 29 Aug 2024 10:26:51 +0800 Subject: [PATCH] 1 --- server/gameserver/custom_battle.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/gameserver/custom_battle.cc b/server/gameserver/custom_battle.cc index ad0ce297..54ca48aa 100644 --- a/server/gameserver/custom_battle.cc +++ b/server/gameserver/custom_battle.cc @@ -403,6 +403,9 @@ void CustomBattle::GameStart() nullptr); } } + if (IsNewBieBattle()) { + room->SetNewBieBattle(1); + } SetRoom(room.get()); room->JoinWithCustomBattle(shared_from_this()); } else {