summaryrefslogtreecommitdiffstats
path: root/main/main.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-12-14 15:33:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-12-14 15:34:47 -0300
commit93a63a5e1adf1886ea37a8357442de7e2c80cd20 (patch)
treeba99266b1a9af5d9a5dc0abbc27c5d7c9605e032 /main/main.cpp
parentfb84b49d87757226305cbaa96224e3fd84df5389 (diff)
downloadredot-engine-93a63a5e1adf1886ea37a8357442de7e2c80cd20.tar.gz
GDScript files are converted to binary on export now.
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 1328807121..c6e20f6d3b 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1136,6 +1136,8 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
translation_server->load_translations();
ResourceLoader::load_translation_remaps(); //load remaps for resources
+ ResourceLoader::load_path_remaps();
+
audio_server->load_default_bus_layout();
if (use_debug_profiler && script_debugger) {
@@ -1816,6 +1818,9 @@ void Main::cleanup() {
OS::get_singleton()->_execpath = "";
OS::get_singleton()->_local_clipboard = "";
+ ResourceLoader::clear_translation_remaps();
+ ResourceLoader::clear_path_remaps();
+
ScriptServer::finish_languages();
#ifdef TOOLS_ENABLED