aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut3
1 files changed, 3 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut
index 4b866a40f..ffefc3b4e 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut
@@ -66,6 +66,9 @@ void function SetupPlayerMenuChallenges( entity player )
void function SetupChallenges_Threaded( entity player )
{
WaitFrame()
+
+ if ( !IsValid( player ) )
+ return
Remote_CallFunction_UI( player, "SCB_SetCompleteMeritState", 0 )
Remote_CallFunction_UI( player, "SCB_SetEvacMeritState", 4 ) //4 tells RUI to hide it