summaryrefslogtreecommitdiff
path: root/engine-macros/src/reflection/enum_impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'engine-macros/src/reflection/enum_impl.rs')
-rw-r--r--engine-macros/src/reflection/enum_impl.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine-macros/src/reflection/enum_impl.rs b/engine-macros/src/reflection/enum_impl.rs
index 96efd71..34891ac 100644
--- a/engine-macros/src/reflection/enum_impl.rs
+++ b/engine-macros/src/reflection/enum_impl.rs
@@ -105,6 +105,7 @@ fn generate_impls(
#engine_crate_path::reflection::Type::Enum(
#engine_crate_path::reflection::Enum {
+ type_id: std::any::TypeId::of::<Self>(),
variants: &[#(#variants),*],
is_unit_only: #is_unit_only,
get_default_value: || {