aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-29 01:42:07 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-29 01:42:07 +0000
commitbbdfd874e2f6a3ad1c72c123879bdc29299bc669 (patch)
treeb807975fbbd6984948309b15a521b3cce33eb0da /Northstar.CustomServers
parent27ed2f75c6264e72a4afafbd105f624f6b3b5724 (diff)
downloadNorthstarMods-bbdfd874e2f6a3ad1c72c123879bdc29299bc669.tar.gz
NorthstarMods-bbdfd874e2f6a3ad1c72c123879bdc29299bc669.zip
fix ctf if a player leaves when holding the flag
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut1
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut
index 7f879c69..dc976059 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 )
{