From d6c8ad8ea3a58b0373e36329fa2e3aee4901f4f2 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Sun, 27 Feb 2022 23:19:20 +0000 Subject: prevent titans from attempting to evac --- Northstar.CustomServers/mod/scripts/vscripts/evac/_evac.gnut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- cgit v1.2.3