1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Mono: Fix null dereferences

This commit is contained in:
Ignacio Etcheverry
2018-07-25 21:30:11 +02:00
parent c0c795474e
commit 5aefe5d936
4 changed files with 20 additions and 9 deletions

View File

@@ -2040,6 +2040,9 @@ void CSharpScript::set_source_code(const String &p_code) {
bool CSharpScript::has_method(const StringName &p_method) const {
if (!script_class)
return false;
return script_class->has_fetched_method_unknown_params(p_method);
}