fixing Infiltration Suit issues as well as streamlining the process of exo-suit switching

This commit is contained in:
FateJH 2018-05-19 15:13:36 -04:00
parent cf3bf19d4d
commit a3f50cc8a4
4 changed files with 12 additions and 13 deletions

View file

@ -94,7 +94,7 @@ class LoadoutTest extends Specification {
val player = CreatePlayer()
val slot = player.Slot(0)
slot.Equipment = None //only an unequipped slot can have its Equipment Size changed (Rifle -> Max)
Player.SuitSetup(player, ExoSuitType.MAX)
player.ExoSuit = ExoSuitType.MAX
val ldout1 = Loadout.Create(player, "weaponless").asInstanceOf[InfantryLoadout]
slot.Equipment = None