aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts
diff options
context:
space:
mode:
authorWilliam Miller <william-millennium@hotmail.com>2023-11-03 13:15:42 -0300
committerGitHub <noreply@github.com>2023-11-03 17:15:42 +0100
commitdfeaba7208deff89de67f32271c0d5c5a44746f1 (patch)
tree3669e795514d2224d8aa9b05a0342f68f6a76823 /Northstar.CustomServers/mod/scripts/vscripts
parentfaff062f6cbdac84803ced8a7c6e69dd7731af57 (diff)
downloadNorthstarMods-dfeaba7208deff89de67f32271c0d5c5a44746f1.tar.gz
NorthstarMods-dfeaba7208deff89de67f32271c0d5c5a44746f1.zip
Fix wrong Item Type for Titan Camos (#728)
Small fix which the wrong item type was being addressed to check for Titan Camos, allowing players to use any camo without fallback to default if they didn't own that item previously when enabling progression.
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/sh_progression.nut4
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/sh_progression.nut b/Northstar.CustomServers/mod/scripts/vscripts/sh_progression.nut
index ceb5e837..496e8b42 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/sh_progression.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/sh_progression.nut
@@ -268,7 +268,7 @@ void function ValidateEquippedItems( entity player )
// camoIndex
if ( loadout.skinIndex == TITAN_SKIN_INDEX_CAMO )
{
- array<ItemData> camoSkins = GetAllItemsOfType( eItemTypes.CAMO_SKIN )
+ array<ItemData> camoSkins = GetAllItemsOfType( eItemTypes.CAMO_SKIN_TITAN )
if ( loadout.camoIndex >= camoSkins.len() || loadout.camoIndex < 0 )
{
printt( " - INVALID TITAN CAMO/SKIN, RESETTING" )
@@ -363,7 +363,7 @@ void function ValidateEquippedItems( entity player )
// primeCamoIndex
if ( loadout.primeSkinIndex == TITAN_SKIN_INDEX_CAMO )
{
- array<ItemData> camoSkins = GetAllItemsOfType( eItemTypes.CAMO_SKIN )
+ array<ItemData> camoSkins = GetAllItemsOfType( eItemTypes.CAMO_SKIN_TITAN )
if ( loadout.primeCamoIndex >= camoSkins.len() || loadout.primeCamoIndex < 0 )
{
printt( " - INVALID TITAN CAMO/SKIN, RESETTING" )