diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-29 01:42:07 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-29 01:42:07 +0000 |
commit | bbdfd874e2f6a3ad1c72c123879bdc29299bc669 (patch) | |
tree | b807975fbbd6984948309b15a521b3cce33eb0da /Northstar.CustomServers/mod/scripts/vscripts | |
parent | 27ed2f75c6264e72a4afafbd105f624f6b3b5724 (diff) | |
download | NorthstarMods-bbdfd874e2f6a3ad1c72c123879bdc29299bc669.tar.gz NorthstarMods-bbdfd874e2f6a3ad1c72c123879bdc29299bc669.zip |
fix ctf if a player leaves when holding the flag
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_ctf.nut | 1 |
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 ) { |