From ceb632aec82ed552c020caba2e9836b308212484 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 11 Nov 2020 19:26:12 -0700 Subject: [PATCH] make equippedentity serializeable --- src/entity/item/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entity/item/mod.rs b/src/entity/item/mod.rs index 22e2913..7555296 100644 --- a/src/entity/item/mod.rs +++ b/src/entity/item/mod.rs @@ -217,7 +217,7 @@ impl InventoryItemEntity { } } -#[derive(Clone, Debug, Default)] +#[derive(Clone, Debug, Default, Serialize, Deserialize)] pub struct EquippedEntity { pub weapon: Option, pub armor: Option,