aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/scripts
diff options
context:
space:
mode:
authorEmma Miler <27428383+emma-miler@users.noreply.github.com>2022-03-28 23:51:53 +0200
committerGitHub <noreply@github.com>2022-03-28 23:51:53 +0200
commit52eb5c6fe396779d358a026586a4531306ca5bd6 (patch)
tree1af120658a3eaef96cf36066807c939ac0826be1 /Northstar.Client/mod/scripts
parent4749167f26fc8888041e52cf4832f741c4e0e291 (diff)
downloadNorthstarMods-52eb5c6fe396779d358a026586a4531306ca5bd6.tar.gz
NorthstarMods-52eb5c6fe396779d358a026586a4531306ca5bd6.zip
Fix time left bug for Discord RPC (#277)v1.6.0-rc4
* Fix a small bug with discord
Diffstat (limited to 'Northstar.Client/mod/scripts')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/state_client.nut2
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
}