From 96f061ea081971e11ad6746940ba2dadbc395a25 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Fri, 22 Jul 2022 00:11:50 +0100 Subject: potentially fix nuke titan crash? (#445) --- Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_nuke_titans.gnut | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Northstar.CustomServers') diff --git a/Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_nuke_titans.gnut b/Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_nuke_titans.gnut index 2626abe1..1e8ec316 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_nuke_titans.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_nuke_titans.gnut @@ -33,6 +33,9 @@ void function NukeTitanSeekOutGenerator( entity titan, entity generator ) titan.EndSignal( "OnDeath" ) titan.EndSignal( "OnDestroy" ) titan.EndSignal( "Doomed" ) + // should fix crash with invalid generator? + generator.EndSignal( "OnDeath" ) + generator.EndSignal( "OnDestroy" ) WaitSignal( titan, "FD_ReachedHarvester", "OnFailedToPath" ) -- cgit v1.2.3