cleanup
This commit is contained in:
@@ -48,6 +48,8 @@ std::vector<std::string>& ContentControl::getBasePacks() {
|
||||
}
|
||||
|
||||
void ContentControl::resetContent() {
|
||||
paths.setCurrentWorldFolder("");
|
||||
|
||||
scripting::cleanup();
|
||||
std::vector<PathsRoot> resRoots;
|
||||
{
|
||||
|
||||
@@ -29,6 +29,7 @@ public:
|
||||
|
||||
std::vector<std::string>& getBasePacks();
|
||||
|
||||
/// @brief Reset content to base packs list
|
||||
void resetContent();
|
||||
|
||||
void loadContent(const std::vector<std::string>& names);
|
||||
|
||||
Reference in New Issue
Block a user