Added click to open to tooltip

This commit is contained in:
Cooldude2606
2019-05-27 14:41:45 +01:00
parent e1ec16ac77
commit e57e44d93c
2 changed files with 3 additions and 2 deletions

View File

@@ -226,7 +226,7 @@ local function add_player(list_table,player,role_name)
name=zoom_to_map_name,
type='label',
caption=player.name,
tooltip=player.name..' '..player.tag..'\n'..role_name
tooltip={'player-list.open-map',player.name,player.tag,role_name}
}
Gui.set_padding(player_name,0,0,0,2)
player_name.style.font_color = player.chat_color