diff options
Diffstat (limited to 'core/script_language.h')
-rw-r--r-- | core/script_language.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/script_language.h b/core/script_language.h index 602ac42b2f..b6c2a47245 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -204,8 +204,9 @@ public: virtual void call_multilevel_reversed(const StringName &p_method, const Variant **p_args, int p_argcount); virtual void notification(int p_notification) = 0; virtual String to_string(bool *r_valid) { - if (r_valid) + if (r_valid) { *r_valid = false; + } return String(); } |