fix missing return value in EntityManager_createEntity
This commit is contained in:
1 parent
a875f370e5
commit
fcf57e8850
1 file changed
+1
@@ -413,6 +413,7 @@ namespace thermion
|
||||
EMSCRIPTEN_KEEPALIVE EntityId EntityManager_createEntity(TEntityManager *tEntityManager) {
|
||||
auto entityManager = reinterpret_cast<utils::EntityManager *>(tEntityManager);
|
||||
auto entity = entityManager->create();
|
||||
return utils::Entity::smuggle(entity);
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in new issue
Block a user