small fix

This commit is contained in:
2023-01-03 23:29:55 +01:00
parent 40d73f2590
commit 2e4c378991

View File

@@ -44,7 +44,7 @@ func load_gltf(file, parent = self, hasCollision = false, trimesh = false):
return node
for o in get_all_children(node):
if o.name.begins_with("entity_") && not o.name.ends_with("_geometry"):
if o.name.begins_with("entity_"):
print("Loading entity ", o.name)
if loadEntity(o):
entity_count += 1;