summaryrefslogtreecommitdiff
path: root/modules/visual_script/visual_script.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-04 21:19:00 +0100
committerGitHub <noreply@github.com>2021-01-04 21:19:00 +0100
commit0b49e5de129bb33f60e861e82ec05070126e03f9 (patch)
tree1e5aa16ddac8cc62e5a6f66900a519c00747f853 /modules/visual_script/visual_script.cpp
parentadd3a825f0cb0c82026694b084f883f6f70be641 (diff)
parent35b8fc2d851354fea69c6e5f28ce483c2b75a1a4 (diff)
Merge pull request #44914 from swarnimarun/master-visualscript-refactor
Fix doc for the VisualScript class after #39649 PR
Diffstat (limited to 'modules/visual_script/visual_script.cpp')
-rw-r--r--modules/visual_script/visual_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/visual_script/visual_script.cpp b/modules/visual_script/visual_script.cpp
index af8b1e9cc1..fe92f59179 100644
--- a/modules/visual_script/visual_script.cpp
+++ b/modules/visual_script/visual_script.cpp
@@ -1167,7 +1167,7 @@ Dictionary VisualScript::_get_data() const {
}
void VisualScript::_bind_methods() {
- ClassDB::bind_method(D_METHOD("add_function", "name"), &VisualScript::add_function);
+ ClassDB::bind_method(D_METHOD("add_function", "name", "func_node_id"), &VisualScript::add_function);
ClassDB::bind_method(D_METHOD("has_function", "name"), &VisualScript::has_function);
ClassDB::bind_method(D_METHOD("remove_function", "name"), &VisualScript::remove_function);
ClassDB::bind_method(D_METHOD("rename_function", "name", "new_name"), &VisualScript::rename_function);