From 9d656b15e94d8170b5200326abad44d170778b7c Mon Sep 17 00:00:00 2001 From: Gino Valente Date: Wed, 29 Jun 2022 08:25:49 -0700 Subject: [PATCH] Revert "Replace deserialize_any with deserialize_map" This reverts commit 4122568f1cabc1d76a81090a14a383f8dafe457a. --- crates/bevy_reflect/src/serde/de.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_reflect/src/serde/de.rs b/crates/bevy_reflect/src/serde/de.rs index 71ebd22eb287b3..41e5ab3be40f82 100644 --- a/crates/bevy_reflect/src/serde/de.rs +++ b/crates/bevy_reflect/src/serde/de.rs @@ -56,7 +56,7 @@ impl<'a, 'de> DeserializeSeed<'de> for UntypedReflectDeserializer<'a> { where D: serde::Deserializer<'de>, { - deserializer.deserialize_map(UntypedReflectDeserializerVisitor { + deserializer.deserialize_any(UntypedReflectDeserializerVisitor { registry: self.registry, }) }