diff --git a/webapp/controller/BattleController.class.php b/webapp/controller/BattleController.class.php index cdac4024..9c353a46 100644 --- a/webapp/controller/BattleController.class.php +++ b/webapp/controller/BattleController.class.php @@ -570,6 +570,7 @@ class BattleController extends BaseAuthedController { $customData = json_decode($customData, true); } + $currSeason = mt\RankSeason::getCurrentSeason(); error_log(json_encode($customData)); $zoneId = $customData['zone_id']; $nodeId = $customData['node_id']; @@ -586,6 +587,7 @@ class BattleController extends BaseAuthedController { 'map_id' => $mapId, 'room_uuid' => $roomUuid, 'start_time' => $startTime, + 'match_mode' => $currSeason ? 1 : 0, 'team_list' => array() ); $mapModeMeta = mt\MapMode::find($modeId);