Browse Source

Merge pull request #27869 from jean-dao/scenetree_call_group

Fix: use function in SceneTree::call_group
Rémi Verschelde 6 years ago
parent
commit
79040656e1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      scene/main/scene_tree.cpp

+ 1 - 2
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) {
 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) {
 void SceneTree::notify_group(const StringName &p_group, int p_notification) {