diff options
Diffstat (limited to 'Northstar.CustomServers/mod')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_mortar_spectres.gnut | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_mortar_spectres.gnut b/Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_mortar_spectres.gnut index 8abd7c71..13cbde6b 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_mortar_spectres.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_mortar_spectres.gnut @@ -86,7 +86,8 @@ void function MortarSpectreSquadThink( array< entity > spectres, entity harveste foreach( entity spectre in spectres ) { - thread MortarSpectreAttack( spectre, harvester, squadMarker ) + if ( IsValid( spectre ) ) + thread MortarSpectreAttack( spectre, harvester, squadMarker ) } } |