fix console focus on open

This commit is contained in:
MihailRis
2024-11-01 16:20:58 +03:00
parent 536045ddc4
commit ac6084f904
5 changed files with 13 additions and 12 deletions
+3
View File
@@ -305,6 +305,8 @@ static void load_configs(const fs::path& root) {
}
void Engine::loadContent() {
scripting::cleanup();
auto resdir = paths->getResourcesFolder();
std::vector<std::string> names;
@@ -350,6 +352,7 @@ void Engine::loadContent() {
}
void Engine::resetContent() {
scripting::cleanup();
auto resdir = paths->getResourcesFolder();
std::vector<PathsRoot> resRoots;
{