spacedockapp / spacedock

Star trek
Apache License 2.0
11 stars 10 forks source link

Ship/Type Requirement Not Enforced Across Ship Switching #115

Closed SeijiTataki closed 10 years ago

SeijiTataki commented 10 years ago

If you equip an Upgrade that can only be equipped to a certain ship, or certain type of ship (Multi-adaptive shield, Transphasic Torpedoes, etc) correctly but then change the ship, then Spacedock does not properly remove the item if the new ship has the slots that support the equipped items. It does properly calculate the additional cost if the new ship would incur a faction or ship/type penalty, but will not remove the item if it can not support it. (Tested on Android only)

rtsuk commented 10 years ago

This is correct on the Mac and I assume iOS. There's a missing call to EquippedShip.removeIllegalUpgrades() somewhere in the Android version.