[GDNative] fix NativeScript false negative error

This commit is contained in:
karroffel 2018-01-18 16:00:38 +01:00
parent 7b4e45b794
commit 69f33a9313
1 changed files with 1 additions and 1 deletions

View File

@ -931,7 +931,7 @@ Ref<Script> NativeScriptLanguage::get_template(const String &p_class_name, const
return Ref<NativeScript>(s); 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 { 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 { Script *NativeScriptLanguage::create_script() const {