mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 21:01:39 +09:00
Report Only Shown On Lower Ranks
This commit is contained in:
@@ -73,7 +73,7 @@ Gui.left.add{
|
|||||||
caption={'player-list.format',tick_to_display_format(player.online_time),player.name,rank.short_hand}
|
caption={'player-list.format',tick_to_display_format(player.online_time),player.name,rank.short_hand}
|
||||||
}.style.font_color = rank.colour
|
}.style.font_color = rank.colour
|
||||||
end
|
end
|
||||||
if Admin.report_btn then
|
if Admin.report_btn and not rank:allowed('no-report') and not player.index == frame.player_index then
|
||||||
local btn = Admin.report_btn:draw(flow)
|
local btn = Admin.report_btn:draw(flow)
|
||||||
btn.style.height = 20
|
btn.style.height = 20
|
||||||
btn.style.width = 20
|
btn.style.width = 20
|
||||||
|
|||||||
Reference in New Issue
Block a user