mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
cleanup
This commit is contained in:
parent
e442402e43
commit
f99d909f34
9 changed files with 19 additions and 46 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue