mirror of
https://gitlab.com/4w/mtimer.git
synced 2024-11-24 16:23:44 +01:00
make visibility switching work
This commit is contained in:
parent
9f47f58e64
commit
ccc0b9a743
@ -30,6 +30,8 @@ mtimer.update_timer = function (player_name)
|
||||
local number = meta:get_string(m.color.key):gsub('#', '0x')
|
||||
local orientation = get_hud_positions(meta:get_string(m.position.key))
|
||||
|
||||
if meta:get_string(m.visible.key) == 'false' then text = '' end
|
||||
|
||||
player:hud_change(hud_id, 'text', text)
|
||||
player:hud_change(hud_id, 'number', number)
|
||||
player:hud_change(hud_id, 'position', orientation.position)
|
||||
|
Loading…
Reference in New Issue
Block a user