diff --git a/extensions/src/siloader.cpp b/extensions/src/siloader.cpp index 7aadcf63..fdebbecc 100644 --- a/extensions/src/siloader.cpp +++ b/extensions/src/siloader.cpp @@ -47,7 +47,7 @@ bool SiLoader::StartWith(StreamObject p_object) bool SiLoader::RemoveWith(StreamObject p_object, LegoWorld* world) { - for (auto& key : startWith) { + for (auto& key : removeWith) { if (key.first == p_object) { 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; }