Revert second to latest commit to avoid incompatibilities with arena_lib stable release

This commit is contained in:
Zughy 2024-02-17 22:34:08 +01:00
parent b8eaedede1
commit d0934e6194

View File

@ -26,7 +26,7 @@ end
-- solo spettatori per ora
function block_league.HUD_skill_update(sp_name)
local panel = panel_lib.get_panel(sp_name, "bl_skill")
local skill = block_league.get_player_skill(arena_lib.get_spectated_target(sp_name).name)
local skill = block_league.get_player_skill(arena_lib.get_player_spectated(sp_name))
panel:update({bg = "bl_skill_" .. skill:sub(14, -1) .. ".png"})
end