diff options
Diffstat (limited to 'includes/system/species.inc')
-rw-r--r-- | includes/system/species.inc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/includes/system/species.inc b/includes/system/species.inc index 45a0178..41b06fe 100644 --- a/includes/system/species.inc +++ b/includes/system/species.inc @@ -45,15 +45,17 @@ function species(array $members, string $id, string $name) { global $systemID; g $alicorn = []; $batpony = []; $crystal = []; + $changeling = []; foreach ($members as $member) { foreach ($member["_metadata"]["species"] as $species) { - if ($species === "earth") $earth[] = $member; - if ($species === "pegasus") $pegasus[] = $member; - if ($species === "unicorn") $unicorn[] = $member; - if ($species === "alicorn") $alicorn[] = $member; - if ($species === "batpony") $batpony[] = $member; - if ($species === "crystal") $crystal[] = $member; + if ($species === "earth") $earth[] = $member; + if ($species === "pegasus") $pegasus[] = $member; + if ($species === "unicorn") $unicorn[] = $member; + if ($species === "alicorn") $alicorn[] = $member; + if ($species === "batpony") $batpony[] = $member; + if ($species === "crystal") $crystal[] = $member; + if ($species === "changeling") $changeling[] = $member; } } @@ -65,6 +67,7 @@ function species(array $members, string $id, string $name) { global $systemID; g <?php species($alicorn, "alicorn", $lang["species"]["alicorn"][3]); ?> <?php species($batpony, "batpony", $lang["species"]["batpony"][3]); ?> <?php species($crystal, "crystal", $lang["species"]["crystal"][3]); ?> + <?php species($changeling, "changeling", "Changelings"); ?> </div> <?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.inc'; ?>
\ No newline at end of file |