fix: add mindforce_decay_pec to decimal_fields in LoadoutConfig.from_dict

- Was causing 'Decimal + str' error when loading saved loadouts
- Added 'mindforce_decay_pec' to the list of fields converted to Decimal
This commit is contained in:
LemonNexus 2026-02-09 20:23:24 +00:00
parent 97af63cbf9
commit fb0d1b4e40
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ class LoadoutConfig:
'armor_decay_pec', 'heal_cost_pec', 'heal_amount', 'protection_stab', 'armor_decay_pec', 'heal_cost_pec', 'heal_amount', 'protection_stab',
'protection_cut', 'protection_impact', 'protection_penetration', 'protection_cut', 'protection_impact', 'protection_penetration',
'protection_shrapnel', 'protection_burn', 'protection_cold', 'protection_shrapnel', 'protection_burn', 'protection_cold',
'protection_acid', 'protection_electric' 'protection_acid', 'protection_electric', 'mindforce_decay_pec'
] ]
for field in decimal_fields: for field in decimal_fields: