Fix scoreboard breaking when player count > 12 on FFA

This commit is contained in:
Federico Cecchetto 2021-12-09 01:59:11 +01:00
parent bbe3bd84a6
commit 343e5e3fd7

View File

@ -0,0 +1,5 @@
function luiglobals.GetPartyMaxPlayers()
return Engine.GetDvarInt("sv_maxclients")
end
LUI.mp_hud.Scoreboard.maxPlayersOnTeam = luiglobals.GetTeamLimitForMaxPlayers(luiglobals.GetPartyMaxPlayers())