mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Fix scoreboard breaking when player count > 12 on FFA
This commit is contained in:
parent
bbe3bd84a6
commit
343e5e3fd7
5
data/ui_scripts/scoreboard/__init__.lua
Normal file
5
data/ui_scripts/scoreboard/__init__.lua
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
function luiglobals.GetPartyMaxPlayers()
|
||||||
|
return Engine.GetDvarInt("sv_maxclients")
|
||||||
|
end
|
||||||
|
|
||||||
|
LUI.mp_hud.Scoreboard.maxPlayersOnTeam = luiglobals.GetTeamLimitForMaxPlayers(luiglobals.GetPartyMaxPlayers())
|
Loading…
Reference in New Issue
Block a user