From 52eb5c6fe396779d358a026586a4531306ca5bd6 Mon Sep 17 00:00:00 2001 From: Emma Miler <27428383+emma-miler@users.noreply.github.com> Date: Mon, 28 Mar 2022 23:51:53 +0200 Subject: Fix time left bug for Discord RPC (#277) * Fix a small bug with discord --- Northstar.Client/mod/scripts/vscripts/state_client.nut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Northstar.Client/mod') diff --git a/Northstar.Client/mod/scripts/vscripts/state_client.nut b/Northstar.Client/mod/scripts/vscripts/state_client.nut index 9ebcf0069..3a0ed6117 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 } -- cgit v1.2.3