fix dbc shared reader bug when not unloading, and optimize bulk query
This commit is contained in:
@@ -25,7 +25,7 @@ void BuildMapListComponent::buildMapList(Noggit::Ui::Windows::NoggitWindow* pare
|
||||
}
|
||||
|
||||
const auto& table = std::string("Map");
|
||||
auto map_table = parent->_project->ClientDatabase->LoadTable(table, readFileAsIMemStream);
|
||||
auto& map_table = parent->_project->ClientDatabase->LoadTable(table, readFileAsIMemStream);
|
||||
|
||||
auto iterator = map_table.Records();
|
||||
auto pinned_maps = std::vector<Widget::MapListData>();
|
||||
|
||||
Reference in New Issue
Block a user