Enabled Splatfest map rotation information.

This commit is contained in:
flash 2023-02-11 17:19:38 +00:00
parent 4ed8eccbd2
commit 7e131b5d66

View file

@ -426,16 +426,14 @@ if($typeId === SP_TYPE_SCHED) { // SCHEDULE SHIT
if($includeFest && !empty($data->festSchedules->nodes)) {
$schedule = [];
// i have no idea what the format of this is gonna be yet
// implement this when there's a fest again lol
/*foreach($data->festSchedules->nodes as $node) {
foreach($data->festSchedules->nodes as $node) {
if(empty($node->festMatchSetting))
continue;
$schedule[] = $item = new stdClass;
splatoon3_schedule_gen($item, $node);
splatoon3_schedule_vs($item, $node->festMatchSetting);
}*/
}
if(!empty($schedule)) {
$gameModes[] = [