fix: entities marked to delete are still not deleted on loadEntities call
This commit is contained in:
parent
8a05f5cf63
commit
904a33418f
@ -218,6 +218,7 @@ std::optional<Entities::RaycastResult> Entities::rayCast(
|
||||
}
|
||||
|
||||
void Entities::loadEntities(dynamic::Map_sptr root) {
|
||||
clean();
|
||||
auto list = root->list("data");
|
||||
for (size_t i = 0; i < list->size(); i++) {
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user