diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-09-02 23:10:07 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-09-02 23:10:07 +0200 |
commit | 5514b5912143fd96d57eb71525663c630ce57bb3 (patch) | |
tree | f5198606fef5d7cb0eee59b4583290c174c272ff /db/areas.php | |
parent | 32b19aa9504ce24fe0e98a5c9e2fa2be9612fa88 (diff) |
fix areas missing items array
Diffstat (limited to 'db/areas.php')
-rw-r--r-- | db/areas.php | 5 |
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'] ?? ''; |