mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
Merge pull request #51385 from RandomShaper/fix_thread_default_null
Fix logic to allow default null thread argument
This commit is contained in:
commit
bd94aa3c9e
@ -1787,7 +1787,7 @@ void _Thread::_start_func(void *ud) {
|
||||
target_param_count = method->get_argument_count();
|
||||
target_default_arg_count = method->get_default_argument_count();
|
||||
}
|
||||
if (target_param_count >= 1 && target_default_arg_count == target_param_count) {
|
||||
if (target_param_count >= 1 && target_default_arg_count < target_param_count) {
|
||||
argc = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user