From 10c8cfdc7e26183601bb4b2ead6eedc957e06bff Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Thu, 28 Dec 2017 14:27:08 +0000 Subject: [PATCH] Fixed Player List Update --- Addons/Guis/player-list.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Addons/Guis/player-list.lua b/Addons/Guis/player-list.lua index c6f95f4a..a433a1ea 100644 --- a/Addons/Guis/player-list.lua +++ b/Addons/Guis/player-list.lua @@ -21,7 +21,7 @@ end local function queue_update(tick) local data = _global() local tick = is_type(tick,'table') and tick.tick or is_type(tick,'number') and tick or game.tick - if tick + data.delay > data.update then + if tick + data.delay > data.update - data.intervial then data.update = tick + data.delay end end @@ -44,13 +44,13 @@ Gui.left.add{ if rank.short_hand == '' then player_list.add{ type='label', - style='caption_style', + style='caption_label', caption={'player-list.format-nil',tick_to_display_format(player.online_time),player.name} }.style.font_color = rank.colour else player_list.add{ type='label', - style='caption_style', + style='caption_label', caption={'player-list.format',tick_to_display_format(player.online_time),player.name,rank.short_hand} }.style.font_color = rank.colour end