aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-30 22:10:00 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-01-30 22:10:00 +0000
commitc9413ecccf46272febc077d1b318b12e2a137270 (patch)
treed68489586f81fb8154a2b74ddbe98bd21fd1afae /Northstar.CustomServers/mod/scripts
parent024d1abf1d08d2ab8bfcd6857c05474ed886ebdf (diff)
downloadNorthstarMods-c9413ecccf46272febc077d1b318b12e2a137270.tar.gz
NorthstarMods-c9413ecccf46272febc077d1b318b12e2a137270.zip
fix bad SetTargetName call
Diffstat (limited to 'Northstar.CustomServers/mod/scripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut b/Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut
index f4b95dc1..c803e531 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut
@@ -205,7 +205,7 @@ void function Evac( int evacTeam, float initialWait, float arrivalTime, float wa
dropship.SetMaxHealth( EVAC_SHIP_HEALTH )
dropship.SetHealth( EVAC_SHIP_HEALTH )
dropship.SetShieldHealth( EVAC_SHIP_SHIELDS )
- dropship.SetTargetName( "#NPC_EVAC_DROPSHIP" )
+ SetTargetName( dropship, "#NPC_EVAC_DROPSHIP" )
DispatchSpawn( dropship )
dropship.SetModel( $"models/vehicle/crow_dropship/crow_dropship_hero.mdl" )
AddEntityCallback_OnKilled( dropship, EvacDropshipKilled )