summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-04-30 10:55:05 +0200
committerGitHub <noreply@github.com>2019-04-30 10:55:05 +0200
commit79040656e1c1d1f852c0ab2b874e837524237ff6 (patch)
tree3eb7322eeec0ed3c1a2a18ce8f39838cd4c441d8
parent5313ce232dc81ed454d1ee7de6da84336e4ff30c (diff)
parent7240701ec9423780555476e458198c4901737b53 (diff)
Merge pull request #27869 from jean-dao/scenetree_call_group
Fix: use function in SceneTree::call_group
-rw-r--r--scene/main/scene_tree.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 125e0a2882..b81364e2f0 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -369,8 +369,7 @@ void SceneTree::set_group_flags(uint32_t p_call_flags, const StringName &p_group
}
void SceneTree::call_group(const StringName &p_group, const StringName &p_function, VARIANT_ARG_DECLARE) {
-
- call_group_flags(0, p_group, VARIANT_ARG_PASS);
+ call_group_flags(0, p_group, p_function, VARIANT_ARG_PASS);
}
void SceneTree::notify_group(const StringName &p_group, int p_notification) {