From 52b39e4589de3d13d903895025bd100a7614aba4 Mon Sep 17 00:00:00 2001 From: Casper Talvio Date: Mon, 11 Dec 2023 18:04:56 +0200 Subject: [PATCH] Make requested change Co-authored-by: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> --- Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut index 964699909..f31802142 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_stats.nut @@ -1036,9 +1036,8 @@ void function SaveStatsPeriodically_Threaded() { foreach( entity player in GetPlayerArray() ) { - if ( !IsValid( player ) ) - continue - Stats_SaveAllStats( player ) + if ( IsValid( player ) ) + Stats_SaveAllStats( player ) } wait 5 }