aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarichello <artur@barichello.me>2022-01-03 19:57:48 -0300
committerGitHub <noreply@github.com>2022-01-03 19:57:48 -0300
commit6a135381d299abf4624f72ba3c4e748fe7509cdb (patch)
tree93e6496a048e3f4159cba50fe68e48d7617850cb
parent0083b152b2f86ace0f0f8de4535d81b005e26d7c (diff)
parentbac68cf87a2091f62d8e99f527c59e96d82741ed (diff)
downloadNorthstarMods-6a135381d299abf4624f72ba3c4e748fe7509cdb.tar.gz
NorthstarMods-6a135381d299abf4624f72ba3c4e748fe7509cdb.zip
Merge pull request #46 from connieprice/main
Added a pro screen check to titan to pilot loadout retrieval.
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut3
1 files changed, 2 insertions, 1 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut
index c84e6aba..0d8a3ec5 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut
@@ -175,7 +175,8 @@ void function GiveWeaponsFromStoredArray( entity player, array<StoredWeapon> sto
if ( storedWeapon.isProScreenOwner )
{
weapon.SetProScreenOwner( player )
- UpdateProScreen( player, weapon )
+ if ( weapon.HasMod( "pro_screen" ) )
+ UpdateProScreen( player, weapon )
}
string weaponCategory = ""