From bbdfd874e2f6a3ad1c72c123879bdc29299bc669 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Wed, 29 Dec 2021 01:42:07 +0000 Subject: fix ctf if a player leaves when holding the flag --- Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut | 1 + 1 file changed, 1 insertion(+) diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut index 7f879c69c..dc976059e 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut +++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut @@ -327,6 +327,7 @@ void function GiveFlag( entity player, entity flag ) void function DropFlagIfPhased( entity player, entity flag ) { player.EndSignal( "StartPhaseShift" ) + player.EndSignal( "OnDestroy" ) OnThreadEnd( function() : ( player ) { -- cgit v1.2.3