diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-02-27 23:19:20 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-02-27 23:19:20 +0000 |
commit | d6c8ad8ea3a58b0373e36329fa2e3aee4901f4f2 (patch) | |
tree | e06d8f383ba746edfa5b31f46cecb57d8c81d9ac /Northstar.CustomServers | |
parent | c2f1c3d14f7328e5ce67d1acdc63e6bbe81bf6dd (diff) | |
download | NorthstarMods-d6c8ad8ea3a58b0373e36329fa2e3aee4901f4f2.tar.gz NorthstarMods-d6c8ad8ea3a58b0373e36329fa2e3aee4901f4f2.zip |
prevent titans from attempting to evac
Diffstat (limited to 'Northstar.CustomServers')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut | 2 |
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 c803e531..454185c7 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut @@ -260,7 +260,7 @@ void function Evac( int evacTeam, float initialWait, float arrivalTime, float wa // have to do this inline since we capture the completionCallback trigger.SetEnterCallback( void function( entity trigger, entity player ) : ( canBoardCallback, dropship ) { - if ( !player.IsPlayer() || !IsAlive( player ) || !canBoardCallback( dropship, player ) || PlayerInDropship( player, dropship ) ) + if ( !player.IsPlayer() || !IsAlive( player ) || player.IsTitan() || !canBoardCallback( dropship, player ) || PlayerInDropship( player, dropship ) ) return thread AddPlayerToEvacDropship( dropship, player ) |