summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-18 16:15:46 +0100
committerGitHub <noreply@github.com>2018-01-18 16:15:46 +0100
commitd0d511b0f8d9cb4d48c861b2c097fa15876f432c (patch)
tree30cf0a1204f924b6a72aab547c07e03de27f1f65
parent7b4e45b794d33ad5277d6d5f99efc7b8cc1fd2dc (diff)
parent69f33a9313c356226a07285f8e923b0082857078 (diff)
Merge pull request #15841 from karroffel/gdnative-more-fixes-hopefully
[GDNative] fix NativeScript false negative error
-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 {