Update hud.lua

master
Minetest-j45 2021-03-22 16:07:10 +00:00 committed by GitHub
parent 98b0f32fc8
commit 491c054f84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ sumo_duels.hud_update = function()
for _, player in ipairs(players) do
local pname = player:get_player_name()
for _, team in ipairs(sumo_duels.teams) do
sumo_duels.hud_team_info[team] = tostring(#sumo_duels.teams[team])
sumo_duels.hud_team_info[team] = #sumo_duels.teams[team]
end
local text = "You are in: " .. sumo_duels.get_player_team(pname) .. "\n" ..
"Lobby: " .. sumo_duels.hud_team_info["lobby"] .. "\n" ..