From c9903340a3767adc5da3f43162db986b82c3e835 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 9 Jul 2024 00:40:52 +0800 Subject: [PATCH] 1 --- webapp/controller/BattleController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index d10f5544..f8835df3 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -1128,6 +1128,9 @@ class BattleController extends BaseAuthedController { if (!$mapModeMeta['is_open']) { return false; } + if ($mapModeMeta['map_mode'] == 501) { + return false; + } $roomUuid = $customData['room_uuid']; if ($r->get(DEC_BATTLE_TICKET . $roomUuid)) { return true;