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)) {
|
if($includeFest && !empty($data->festSchedules->nodes)) {
|
||||||
$schedule = [];
|
$schedule = [];
|
||||||
|
|
||||||
// i have no idea what the format of this is gonna be yet
|
foreach($data->festSchedules->nodes as $node) {
|
||||||
// implement this when there's a fest again lol
|
|
||||||
/*foreach($data->festSchedules->nodes as $node) {
|
|
||||||
if(empty($node->festMatchSetting))
|
if(empty($node->festMatchSetting))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
$schedule[] = $item = new stdClass;
|
$schedule[] = $item = new stdClass;
|
||||||
splatoon3_schedule_gen($item, $node);
|
splatoon3_schedule_gen($item, $node);
|
||||||
splatoon3_schedule_vs($item, $node->festMatchSetting);
|
splatoon3_schedule_vs($item, $node->festMatchSetting);
|
||||||
}*/
|
}
|
||||||
|
|
||||||
if(!empty($schedule)) {
|
if(!empty($schedule)) {
|
||||||
$gameModes[] = [
|
$gameModes[] = [
|
||||||
|
|
Reference in a new issue