From fb0d1b4e404ac3ae994d90958c497b2027053af0 Mon Sep 17 00:00:00 2001 From: LemonNexus Date: Mon, 9 Feb 2026 20:23:24 +0000 Subject: [PATCH] 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 --- ui/loadout_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/loadout_manager.py b/ui/loadout_manager.py index 33a5e7d..b65dc26 100644 --- a/ui/loadout_manager.py +++ b/ui/loadout_manager.py @@ -330,7 +330,7 @@ class LoadoutConfig: 'armor_decay_pec', 'heal_cost_pec', 'heal_amount', 'protection_stab', 'protection_cut', 'protection_impact', 'protection_penetration', 'protection_shrapnel', 'protection_burn', 'protection_cold', - 'protection_acid', 'protection_electric' + 'protection_acid', 'protection_electric', 'mindforce_decay_pec' ] for field in decimal_fields: