mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Fix: use function in SceneTree::call_group
When calling call_group from C++, the function name is not passed on to call_group_flags, resulting in first argument being mistakenly used instead of function.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user