From 692eda0befa81ea1e93f89015326930584cc1c44 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 30 Aug 2024 14:38:52 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index 3e5badd2..98e337d8 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -952,7 +952,7 @@ class BattleController extends BaseAuthedController { array_push($data['team_list'], $teamInfo); } $this->decTicket($r, $customData, $mapModeMeta); - if ($data['is_newbie_battle'] && $realPlayerNum > 0) { + if ($data['is_newbie_battle'] && $realPlayerNum > 1) { $data['is_newbie_battle'] = 0; } myself()->_rspData($data);