Fix bug where hud label did not update to the team's name
This commit is contained in:
parent
43e4d7fa75
commit
cd43aedca5
@ -47,6 +47,7 @@ ctf.hud.register_part(function(player, name, tplayer)
|
|||||||
alignment = {x = -1, y = 0}
|
alignment = {x = -1, y = 0}
|
||||||
})
|
})
|
||||||
else
|
else
|
||||||
|
ctf.hud:change(player, "ctf:hud_team", "text", tplayer.team)
|
||||||
ctf.hud:change(player, "ctf:hud_team", "number", color)
|
ctf.hud:change(player, "ctf:hud_team", "number", color)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user