diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/class_db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp index 0d6c72afa8..4b0e1b31f0 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -864,7 +864,7 @@ void ClassDB::add_property(StringName p_class, const PropertyInfo &p_pinfo, cons MethodBind *mb_get = NULL; if (p_getter) { - MethodBind *mb_get = get_method(p_class, p_getter); + mb_get = get_method(p_class, p_getter); #ifdef DEBUG_METHODS_ENABLED if (!mb_get) { |