From 03b85bad34871f25f048314e4fea385f30ca29ec Mon Sep 17 00:00:00 2001 From: MevLyshkin Date: Mon, 2 Dec 2024 20:26:29 +0100 Subject: [PATCH] BrpQueryRow has field deserialization fix --- crates/bevy_remote/src/builtin_methods.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_remote/src/builtin_methods.rs b/crates/bevy_remote/src/builtin_methods.rs index 08458da1c02cf..a3c38e8c3d379 100644 --- a/crates/bevy_remote/src/builtin_methods.rs +++ b/crates/bevy_remote/src/builtin_methods.rs @@ -304,7 +304,7 @@ pub struct BrpQueryRow { pub components: HashMap, /// The boolean-only containment query results. - #[serde(skip_serializing_if = "HashMap::is_empty")] + #[serde(skip_serializing_if = "HashMap::is_empty", default)] pub has: HashMap, }