From d8e87044df481d8f8fd6ce008202abe7065d662c Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 4 Nov 2018 16:08:52 +0000 Subject: [PATCH] Fixed playerInfo in ExpGamingAdmin/Gui --- modules/ExpGamingAdmin/Gui/control.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ExpGamingAdmin/Gui/control.lua b/modules/ExpGamingAdmin/Gui/control.lua index 8d6a6bdd..c2c0d2f5 100644 --- a/modules/ExpGamingAdmin/Gui/control.lua +++ b/modules/ExpGamingAdmin/Gui/control.lua @@ -89,7 +89,7 @@ local player_drop_down = Gui.inputs.add_drop_down('player-drop-down-admin-comman local player_info_flow = element.parent.parent.info_flow player_info_flow.clear() if selected == 'Select Player' then return - else get_player_info(selected,player_info_flow,true) end + else playerInfo(selected,player_info_flow,true) end local role = Role.get_highest(player) local _role = Role.get(selected) if role.index >= _role.index then element.parent.warning.caption = {'ExpGamingAdmin.warning'} @@ -184,7 +184,7 @@ Admin.center = Gui.center{ if pre_select_action == 'Jail' or pre_select_action == 'Kick' or pre_select_action == 'Ban' then _text.style.visible = true else _text.style.visible = false end - if pre_select_player then get_player_info(pre_select_player,player_info_flow,true) end + if pre_select_player then playerInfo(pre_select_player,player_info_flow,true) end _text.style.width = 200 local label = dropdowns.add{ name='warning',