Update hud.lua

master
Minetest-j45 2021-03-21 21:53:57 +00:00 committed by GitHub
parent 20a276b785
commit 98b0f32fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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