summaryrefslogtreecommitdiff
path: root/db/areas.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-09-02 23:10:07 +0200
committerDaniel Weipert <code@drogueronin.de>2023-09-02 23:10:07 +0200
commit5514b5912143fd96d57eb71525663c630ce57bb3 (patch)
treef5198606fef5d7cb0eee59b4583290c174c272ff /db/areas.php
parent32b19aa9504ce24fe0e98a5c9e2fa2be9612fa88 (diff)
fix areas missing items array
Diffstat (limited to 'db/areas.php')
-rw-r--r--db/areas.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/areas.php b/db/areas.php
index fd0943a..b644a9d 100644
--- a/db/areas.php
+++ b/db/areas.php
@@ -42,6 +42,11 @@ foreach (scandir(__DIR__ . '/areas') as $file) {
$area['trainers'] ??= [];
+ // items
+
+ $area['items'] ??= [];
+
+
// environment
$environmentSlug = $area['modules/tuxemon.environment'] ?? '';