This commit is contained in:
Christian Semmler 2025-08-10 12:29:53 -07:00
parent 9e42ee1236
commit af642ff021

View File

@ -47,7 +47,7 @@ bool SiLoader::StartWith(StreamObject p_object)
bool SiLoader::RemoveWith(StreamObject p_object, LegoWorld* world) bool SiLoader::RemoveWith(StreamObject p_object, LegoWorld* world)
{ {
for (auto& key : startWith) { for (auto& key : removeWith) {
if (key.first == p_object) { if (key.first == p_object) {
RemoveFromWorld(key.second.first, key.second.second, world->GetAtomId(), world->GetEntityId()); RemoveFromWorld(key.second.first, key.second.second, world->GetAtomId(), world->GetEntityId());
} }
@ -106,10 +106,5 @@ bool SiLoader::LoadFile(const char* p_file)
} }
} }
const auto& x = startWith;
const auto& y = removeWith;
assert(false);
return true; return true;
} }