aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_function.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-08-11 10:29:41 +0200
committerGitHub2017-08-11 10:29:41 +0200
commit8e6768c963b0ed825e4a4dbf3aeee5907168d697 (patch)
treeda7f2efe5fceb097bc1ebb7ce6789e9bf3a3a1d8 /modules/gdscript/gd_function.cpp
parent81dde2687f2f80f5f365a02d68913322d35e9be1 (diff)
parent78619a5866f44b057bc539e46a936f7580360800 (diff)
downloadgodot-8e6768c963b0ed825e4a4dbf3aeee5907168d697.tar.gz
godot-8e6768c963b0ed825e4a4dbf3aeee5907168d697.tar.zst
godot-8e6768c963b0ed825e4a4dbf3aeee5907168d697.zip
Merge pull request #10202 from neikeq/how-do-you-turn-this-on
Improves method bind's detecting of signarute types
Diffstat (limited to 'modules/gdscript/gd_function.cpp')
-rw-r--r--modules/gdscript/gd_function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp
index 4f8fbd6b4..cafcc1e96 100644
--- a/modules/gdscript/gd_function.cpp
+++ b/modules/gdscript/gd_function.cpp
@@ -1507,7 +1507,7 @@ Variant GDFunctionState::resume(const Variant &p_arg) {
void GDFunctionState::_bind_methods() {
- ClassDB::bind_method(D_METHOD("resume:Variant", "arg"), &GDFunctionState::resume, DEFVAL(Variant()));
+ ClassDB::bind_method(D_METHOD("resume", "arg"), &GDFunctionState::resume, DEFVAL(Variant()));
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"));