From bac68cf87a2091f62d8e99f527c59e96d82741ed Mon Sep 17 00:00:00 2001 From: Connie Price Date: Thu, 30 Dec 2021 23:42:25 +0000 Subject: Added a pro screen check to titan to pilot loadout retrieval. Just like the normal loadout "giver", prevents an error when a weapon is not properly setup to use the proscreen, but has been given as part of a loadout. --- Northstar.CustomServers/mod/scripts/vscripts/mp/_titan_transfer.nut | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp') 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 sto if ( storedWeapon.isProScreenOwner ) { weapon.SetProScreenOwner( player ) - UpdateProScreen( player, weapon ) + if ( weapon.HasMod( "pro_screen" ) ) + UpdateProScreen( player, weapon ) } string weaponCategory = "" -- cgit v1.2.3