Skip to content

Commit

Permalink
Allow unknown armours to gain a utility slot (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
pledbrook committed May 25, 2019
1 parent f4e6251 commit d4fb6bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions LongWarOfTheChosen/Src/LW_Overhaul/Classes/LWTemplateMods.uc
Original file line number Diff line number Diff line change
Expand Up @@ -2210,6 +2210,12 @@ function ReconfigGear(X2ItemTemplate Template, int Difficulty)
case 'PoweredSparkArmor':
ArmorTemplate.Abilities.AddItem('Carapace_Plating_Ability');
break;

default:
// Assume any other armors we don't know about should get the extra
// utility slot. (Issue #89)
ArmorTemplate.bAddsUtilitySlot = true;
break;
}
}

Expand Down

0 comments on commit d4fb6bf

Please sign in to comment.