From ebb6f592320dc7cb605196d249037b96bccd6f33 Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Sun, 4 Nov 2018 16:30:52 +0000 Subject: [PATCH] Fixed ExpGamingAdmin.Gui get vs get_highest --- modules/ExpGamingAdmin/Gui/control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ExpGamingAdmin/Gui/control.lua b/modules/ExpGamingAdmin/Gui/control.lua index fac57ee4..254ad6ae 100644 --- a/modules/ExpGamingAdmin/Gui/control.lua +++ b/modules/ExpGamingAdmin/Gui/control.lua @@ -91,7 +91,7 @@ local player_drop_down = Gui.inputs.add_drop_down('player-drop-down-admin-comman if selected == 'Select Player' then return else playerInfo(selected,player_info_flow,true) end local role = Role.get_highest(player) - local _role = Role.get(selected) + local _role = Role.get_highest(selected) if role.index >= _role.index then element.parent.warning.caption = {'ExpGamingAdmin.warning'} else element.parent.warning.caption = '' end end)