aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-29 01:34:04 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-29 01:34:04 +0000
commit4fe3ce1900f0197f9a41d0b54d22079cf149dbeb (patch)
tree2278f7aa1e0dc10600af06b3608af182cf43a351 /Northstar.CustomServers
parent7652539f68a35bd78e27e4394cf66a269212febb (diff)
downloadNorthstarMods-4fe3ce1900f0197f9a41d0b54d22079cf149dbeb.tar.gz
NorthstarMods-4fe3ce1900f0197f9a41d0b54d22079cf149dbeb.zip
fix crash when disconnecting from livefire with flag held
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut1
1 files changed, 1 insertions, 0 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut
index 49fd5f2e2..cef0af6bd 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/gamemodes/_gamemode_speedball.nut
@@ -86,6 +86,7 @@ void function GiveFlag( entity player )
void function DropFlagIfPhased( entity player )
{
player.EndSignal( "StartPhaseShift" )
+ player.EndSignal( "OnDestroy" )
OnThreadEnd( function() : ( player )
{