aboutsummaryrefslogtreecommitdiff
path: root/core/script_language.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-07-22 16:11:04 -0300
committerJuan Linietsky2017-07-22 16:11:56 -0300
commit0ad1a8f3d00f1927765f7ad687a470f96373729a (patch)
treebbefc779772c882124abadce51235d6a755fe486 /core/script_language.cpp
parentc74a3275dcce579287d954451d225742581bbb42 (diff)
downloadgodot-0ad1a8f3d00f1927765f7ad687a470f96373729a.tar.gz
godot-0ad1a8f3d00f1927765f7ad687a470f96373729a.tar.zst
godot-0ad1a8f3d00f1927765f7ad687a470f96373729a.zip
Diffstat (limited to 'core/script_language.cpp')
-rw-r--r--core/script_language.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/script_language.cpp b/core/script_language.cpp
index 4a7fdc9d6..aeb157384 100644
--- a/core/script_language.cpp
+++ b/core/script_language.cpp
@@ -99,6 +99,13 @@ void ScriptServer::init_languages() {
}
}
+void ScriptServer::finish_languages() {
+
+ for (int i = 0; i < _language_count; i++) {
+ _languages[i]->finish();
+ }
+}
+
void ScriptServer::set_reload_scripts_on_save(bool p_enable) {
reload_scripts_on_save = p_enable;