diff options
author | Andreas Haas <Hinsbart@users.noreply.github.com> | 2017-10-06 13:09:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-06 13:09:53 +0200 |
commit | ec2a4da6d6a697830aa1c6a4aedf0299137b39db (patch) | |
tree | 70239b885a8fc47704aa4ba516aab03215f9fb9e /modules/gdscript/gd_function.cpp | |
parent | 40558b67a87867841f91fe0efcc0d60db3506d02 (diff) | |
parent | 61ddf52983933a5500f91e13fc1234d5027e35e5 (diff) | |
download | redot-engine-ec2a4da6d6a697830aa1c6a4aedf0299137b39db.tar.gz |
Merge pull request #11854 from endragor/fix-few-classdb-defs
Add NIL_IS_VARIANT usage to few definitions
Diffstat (limited to 'modules/gdscript/gd_function.cpp')
-rw-r--r-- | modules/gdscript/gd_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp index 9df2823c35..ce503b62f2 100644 --- a/modules/gdscript/gd_function.cpp +++ b/modules/gdscript/gd_function.cpp @@ -1578,7 +1578,7 @@ void GDFunctionState::_bind_methods() { ClassDB::bind_method(D_METHOD("is_valid", "extended_check"), &GDFunctionState::is_valid, DEFVAL(false)); ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "_signal_callback", &GDFunctionState::_signal_callback, MethodInfo("_signal_callback")); - ADD_SIGNAL(MethodInfo("completed", PropertyInfo(Variant::NIL, "result"))); + ADD_SIGNAL(MethodInfo("completed", PropertyInfo(Variant::NIL, "result", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NIL_IS_VARIANT))); } GDFunctionState::GDFunctionState() { |