Skip to content

Commit

Permalink
improvements on update status to status[world_id].
Browse files Browse the repository at this point in the history
  • Loading branch information
elsongabriel committed Sep 7, 2024
1 parent 7dd3e7a commit cfb1dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions system/pages/online.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@
'record' => $record,
'vocations' => $vocations,
'world' => $world,
'status' => $world ? $status[$world['id']] : null,
));

//search bar
Expand Down
2 changes: 1 addition & 1 deletion system/pages/serverinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]);

0 comments on commit cfb1dfd

Please sign in to comment.