ZAB909 / ChapterMaster

13 stars 29 forks source link

Fix overspending stc fragments #231

Closed puntastic closed 11 months ago

puntastic commented 12 months ago

fixes #219 Cause: STC Identification code missing limit check. Fix: Implement bounds check - 6 per category (wargear/vehicles/ships) at present. As defined by MAX_STC_PER_SUBCATEGORY Does not fix: 'Identify' button remaining highlighted if limit has been reached

Additional changes/Side effects: STC in the category with least identified STCs (wargear/vehicles/ships) will be identified first. Was: Purely random before