Merge pull request #287 from fedddddd/lui-scripting

Fix scoreboard breaking when player count > 12 on FFA
This commit is contained in:
Maurice Heumann 2021-12-10 18:55:27 +01:00 committed by GitHub
commit 09350cb6cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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