aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2022-07-21 20:57:22 +0100
committerGitHub <noreply@github.com>2022-07-21 21:57:22 +0200
commit39e75408ca8884078424f20ae01d038bb1aaec79 (patch)
tree04816f11106d9bc659cb3934f19320eead6bc67b /Northstar.CustomServers/mod
parent5cee2bd32aa30dbc6011889c2ae3594a9468dcb3 (diff)
downloadNorthstarMods-39e75408ca8884078424f20ae01d038bb1aaec79.tar.gz
NorthstarMods-39e75408ca8884078424f20ae01d038bb1aaec79.zip
[FD] Quick mortar spectre fix (#443)
Diffstat (limited to 'Northstar.CustomServers/mod')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/ai/_ai_mortar_spectres.gnut3
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 )
}
}