mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
Merge pull request #287 from fedddddd/lui-scripting
Fix scoreboard breaking when player count > 12 on FFA
This commit is contained in:
commit
09350cb6cc
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