Bugfix in ecs
This commit is contained in:
parent
a36d25a34b
commit
5e64a4c216
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
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;
|
detail::component_uuid_helper<std::remove_cvref_t<Components>...> uuids;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue