This commit is contained in:
MihailRis
2024-12-21 13:11:23 +03:00
parent 17161e5981
commit c3f22c6854
7 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ entityid_t Entities::spawn(
for (auto& componentName : def.components) {
auto component = std::make_unique<UserComponent>(
componentName, entity_funcs_set {}, nullptr
componentName, EntityFuncsSet {}, nullptr
);
scripting.components.emplace_back(std::move(component));
}