ZAB909 / ChapterMaster

13 stars 21 forks source link

Fix overspending stc fragments #231

Closed puntastic closed 9 months ago

puntastic commented 9 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