Merge pull request #15841 from karroffel/gdnative-more-fixes-hopefully

[GDNative] fix NativeScript false negative error
This commit is contained in:
Rémi Verschelde 2018-01-18 16:15:46 +01:00 committed by GitHub
commit d0d511b0f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {