Bugfix in ecs

This commit is contained in:
Nikita Lisitsa 2024-01-06 20:12:26 +03:00
parent a36d25a34b
commit 5e64a4c216

View file

@ -402,7 +402,7 @@ namespace psemek::ecs
{
static_assert(detail::all_different_types_v<std::remove_cvref_t<Components>...>, "all component types must be different");
(register_component<Components>(), ...);
(register_component<std::remove_cvref_t<Components>>(), ...);
detail::component_uuid_helper<std::remove_cvref_t<Components>...> uuids;