mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 00:14:52 +09:00
Fixed ExpGamingAdmin.Gui get vs get_highest
This commit is contained in:
1 parent
65a8b9e8de
commit
ebb6f59232
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user