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:
parent
97af63cbf9
commit
fb0d1b4e40
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue