From 4741a03d2eeb24bd00779af42f7714723a82142e Mon Sep 17 00:00:00 2001 From: Kevin Marsolais Date: Wed, 22 May 2024 12:37:19 -0700 Subject: [PATCH] Fix config parse error --- src/patch_config.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/patch_config.rs b/src/patch_config.rs index e7480c0f..f4be9b0a 100644 --- a/src/patch_config.rs +++ b/src/patch_config.rs @@ -1166,11 +1166,7 @@ impl<'de> Deserialize<'de> for SuitDamageReduction { } } - deserializer.deserialize_enum( - "SuitDamageReduction", - &["Default", "Progressive", "Additive"], - SuitDamageReductionVisitor, - ) + deserializer.deserialize_any(SuitDamageReductionVisitor) } }