summaryrefslogtreecommitdiff
path: root/engine-ecs/src/component.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine-ecs/src/component.rs')
-rw-r--r--engine-ecs/src/component.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-ecs/src/component.rs b/engine-ecs/src/component.rs
index aee4904..30869b5 100644
--- a/engine-ecs/src/component.rs
+++ b/engine-ecs/src/component.rs
@@ -370,7 +370,7 @@ impl Default for PartsBuilder
#[non_exhaustive]
pub struct Info
{
- pub type_reflection: &'static crate::reflection::Type,
+ pub type_reflection: Option<&'static crate::reflection::Type>,
pub ty_id: TypeId,
pub name: &'static str,
}