aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut5
1 files changed, 2 insertions, 3 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut
index ffefc3b4..016097f2 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_challenges.gnut
@@ -65,10 +65,9 @@ void function SetupPlayerMenuChallenges( entity player )
void function SetupChallenges_Threaded( entity player )
{
+ player.EndSignal( "OnDestroy" )
+
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