From 5771dfbbc8eae88fe24eb0818fc9bd34fe38a742 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Fri, 6 Apr 2018 22:41:03 +0100 Subject: [PATCH] Fixed n_online --- ExpCore/sync.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ExpCore/sync.lua b/ExpCore/sync.lua index 6853f884..b38adaf4 100644 --- a/ExpCore/sync.lua +++ b/ExpCore/sync.lua @@ -210,7 +210,9 @@ function Sync.update() info.last_update[2] = tick_to_display_format(game.tick) info.players={ online=Sync.count_players(true), + n_online=#game.connected_players, all=Sync.count_players(), + n_all=#game.players, admins_online=Sync.count_admins(), afk_players=Sync.count_afk(), times=Sync.count_player_times()