Fix bug where hud label did not update to the team's name

master
rubenwardy 2015-09-08 19:46:45 +01:00
parent 43e4d7fa75
commit cd43aedca5
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ ctf.hud.register_part(function(player, name, tplayer)
alignment = {x = -1, y = 0}
})
else
ctf.hud:change(player, "ctf:hud_team", "text", tplayer.team)
ctf.hud:change(player, "ctf:hud_team", "number", color)
end
end)