feat: writeable pack entry points cleanup
This commit is contained in:
parent
4b09b108fd
commit
794d1d71f5
@ -186,6 +186,9 @@ void EnginePaths::setContentPacks(std::vector<ContentPack>* contentPacks) {
|
||||
for (const auto& id : contentEntryPoints) {
|
||||
io::remove_device(id);
|
||||
}
|
||||
for (const auto& [_, entryPoint] : writeablePacks) {
|
||||
io::remove_device(entryPoint);
|
||||
}
|
||||
contentEntryPoints.clear();
|
||||
this->contentPacks = contentPacks;
|
||||
// Create content devices
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user