You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Fix logic to allow default null thread argument
(cherry picked from commit a6303b70a5)
This commit is contained in:
committed by
Rémi Verschelde
parent
abc18e9a4f
commit
9aafb22d99
@@ -2643,7 +2643,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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user