aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-24 20:05:14 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-24 20:05:14 +0000
commitc15073a49a6f7814deef65f9d935289468914cb1 (patch)
treef7bb63a4dfc48dcf981f8366296f2e6af093bb66 /Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut
parentaafffda44116b7ac7911dc65826e391c61b458cd (diff)
downloadNorthstarMods-c15073a49a6f7814deef65f9d935289468914cb1.tar.gz
NorthstarMods-c15073a49a6f7814deef65f9d935289468914cb1.zip
fix grace period being allowed in titans
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut2
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut
index af028e71b..abd189e82 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/_loadouts_mp.gnut
@@ -254,7 +254,7 @@ void function SetPlayerLoadoutDirty( entity player )
void function TryGivePilotLoadoutForGracePeriod( entity player )
{
- if ( !IsLobby() && IsAlive( player ) && player.s.loadoutDirty )
+ if ( !IsLobby() && IsAlive( player ) && player.s.loadoutDirty && !player.IsTitan() && !player.ContextAction_IsActive() )
{
player.s.loadoutDirty = false