Enabled Splatfest map rotation information.
This commit is contained in:
parent
4ed8eccbd2
commit
7e131b5d66
1 changed files with 2 additions and 4 deletions
|
@ -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[] = [
|
||||
|
|
Reference in a new issue