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

Mono: Fix null dereferences

(cherry picked from commit 5aefe5d936)
This commit is contained in:
Ignacio Etcheverry
2018-07-25 21:30:11 +02:00
committed by Hein-Pieter van Braam
parent e7110984f3
commit cf1c127c23
4 changed files with 20 additions and 9 deletions

View File

@@ -2030,6 +2030,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);
}