From 84dd0735820b16b60f600284d35183d76547a71f Mon Sep 17 00:00:00 2001
From: Minteck <contact@minteck.org>
Date: Wed, 10 Aug 2022 00:23:09 +0200
Subject: Stuff

---
 includes/system/species.php | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'includes/system/species.php')

diff --git a/includes/system/species.php b/includes/system/species.php
index a2251d0..7747809 100644
--- a/includes/system/species.php
+++ b/includes/system/species.php
@@ -30,6 +30,7 @@ function species(array $members, string $id, string $name) { global $systemID; ?
         $unicorn = [];
         $alicorn = [];
         $batpony = [];
+        $crystal = [];
 
         foreach ($members as $member) {
             foreach ($member["_metadata"]["species"] as $species) {
@@ -38,6 +39,7 @@ function species(array $members, string $id, string $name) { global $systemID; ?
                 if ($species === "unicorn") $unicorn[] = $member;
                 if ($species === "alicorn") $alicorn[] = $member;
                 if ($species === "batpony") $batpony[] = $member;
+                if ($species === "crystal") $crystal[] = $member;
             }
         }
 
@@ -48,6 +50,7 @@ function species(array $members, string $id, string $name) { global $systemID; ?
         <?php species($unicorn, "unicorn", "Unicorns"); ?>
         <?php species($alicorn, "alicorn", "Alicorns"); ?>
         <?php species($batpony, "batpony", "Bat ponies"); ?>
+        <?php species($crystal, "crystal", "Crystal ponies"); ?>
     </div>
 
 <?php require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php'; ?>
\ No newline at end of file
-- 
cgit