From 39a288eb0f225a4d97e672f32a3c2c5e9c62a26b Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 18 Dec 2022 15:35:37 +0100 Subject: Update --- includes/system/species.inc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'includes/system/species.inc') 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 + \ No newline at end of file -- cgit