diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2022-07-21 20:57:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-21 21:57:22 +0200 |
commit | 39e75408ca8884078424f20ae01d038bb1aaec79 (patch) | |
tree | 04816f11106d9bc659cb3934f19320eead6bc67b /Northstar.CustomServers/mod/scripts/vscripts | |
parent | 5cee2bd32aa30dbc6011889c2ae3594a9468dcb3 (diff) | |
download | NorthstarMods-39e75408ca8884078424f20ae01d038bb1aaec79.tar.gz NorthstarMods-39e75408ca8884078424f20ae01d038bb1aaec79.zip |
[FD] Quick mortar spectre fix (#443)
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-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 ) } } |