summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorkarroffel <therzog@mail.de>2018-01-18 16:00:38 +0100
committerkarroffel <therzog@mail.de>2018-01-18 16:00:38 +0100
commit69f33a9313c356226a07285f8e923b0082857078 (patch)
tree30cf0a1204f924b6a72aab547c07e03de27f1f65 /modules
parent7b4e45b794d33ad5277d6d5f99efc7b8cc1fd2dc (diff)
[GDNative] fix NativeScript false negative error
Diffstat (limited to 'modules')
-rw-r--r--modules/gdnative/nativescript/nativescript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp
index 2216be0257..aaa7d634d1 100644
--- a/modules/gdnative/nativescript/nativescript.cpp
+++ b/modules/gdnative/nativescript/nativescript.cpp
@@ -931,7 +931,7 @@ Ref<Script> NativeScriptLanguage::get_template(const String &p_class_name, const
return Ref<NativeScript>(s);
}
bool NativeScriptLanguage::validate(const String &p_script, int &r_line_error, int &r_col_error, String &r_test_error, const String &p_path, List<String> *r_functions) const {
- return false;
+ return true;
}
Script *NativeScriptLanguage::create_script() const {