diff options
author | Emma Miler <27428383+emma-miler@users.noreply.github.com> | 2022-03-28 23:51:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-28 23:51:53 +0200 |
commit | 52eb5c6fe396779d358a026586a4531306ca5bd6 (patch) | |
tree | 1af120658a3eaef96cf36066807c939ac0826be1 /Northstar.Client | |
parent | 4749167f26fc8888041e52cf4832f741c4e0e291 (diff) | |
download | NorthstarMods-1.6.0-rc4.tar.gz NorthstarMods-1.6.0-rc4.zip |
Fix time left bug for Discord RPC (#277)v1.6.0-rc4
* Fix a small bug with discord
Diffstat (limited to 'Northstar.Client')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/state_client.nut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/state_client.nut b/Northstar.Client/mod/scripts/vscripts/state_client.nut index 9ebcf006..3a0ed611 100644 --- a/Northstar.Client/mod/scripts/vscripts/state_client.nut +++ b/Northstar.Client/mod/scripts/vscripts/state_client.nut @@ -41,7 +41,7 @@ void function NSUpdateGameStateLoopClient() ourScore = GameRules_GetTeamScore( GetLocalClientPlayer().GetTeam() ) } int limit = GetServerVar( "roundBased" ) ? GetCurrentPlaylistVarInt( "roundscorelimit", 0 ) : GetCurrentPlaylistVarInt( "scorelimit", 0 ) - NSUpdateGameStateClient( GetPlayerArray().len(), ourScore, secondHighestScore, highestScore, GetServerVar( "roundBased" ), limit ) + NSUpdateGameStateClient( GetPlayerArray().len(), GetCurrentPlaylistVarInt( "max_players", 65535 ), ourScore, secondHighestScore, highestScore, GetServerVar( "roundBased" ), limit ) OnPrematchStart() wait 1.0 } |