From df69ebf264ccc9d05f0d702fdaa4b6ad5fc8bfe0 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 26 Mar 2024 11:11:35 +0800 Subject: [PATCH] 1 --- server/gameserver/custom_battle.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/gameserver/custom_battle.cc b/server/gameserver/custom_battle.cc index 29e9ef17..5ce0f20c 100644 --- a/server/gameserver/custom_battle.cc +++ b/server/gameserver/custom_battle.cc @@ -319,6 +319,8 @@ void CustomBattle::OnEnter(std::shared_ptr join_msg, long ip_saddr, pair.second->is_ready_ = 1; OnMemberReady(pair.second.get()); } + } else { + } if (state_ == 1) { NotifyState();