From cfb1dfd4823dd1a1b504e135f594351508735b93 Mon Sep 17 00:00:00 2001 From: Elson Costa Date: Fri, 6 Sep 2024 17:36:42 -0300 Subject: [PATCH] improvements on update status to status[world_id]. --- system/pages/online.php | 1 + system/pages/serverinfo.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/system/pages/online.php b/system/pages/online.php index 94a2cf4f4..c90530393 100644 --- a/system/pages/online.php +++ b/system/pages/online.php @@ -115,6 +115,7 @@ 'record' => $record, 'vocations' => $vocations, 'world' => $world, + 'status' => $world ? $status[$world['id']] : null, )); //search bar diff --git a/system/pages/serverinfo.php b/system/pages/serverinfo.php index 40ec0c3b8..845e50a14 100644 --- a/system/pages/serverinfo.php +++ b/system/pages/serverinfo.php @@ -81,5 +81,5 @@ 'weeklyFragsToRedSkull' => configLua('weekKillsToRedSkull') ?? null, 'monthlyFragsToRedSkull' => configLua('monthKillsToRedSkull') ?? null, 'world' => $world, - // 'status' => $world ? $status[$world['id']] : null, + 'status' => $world ? $status[$world['id']] : null, ]);