Cleanup ThreadPoolExecuteJob's _execute.

This commit is contained in:
Relintai 2020-08-04 15:25:06 +02:00
parent 862a366e9a
commit a9d55cc1c4

View File

@ -45,15 +45,9 @@ void ThreadPoolExecuteJob::_execute() {
ERR_FAIL_COND(!_object);
ERR_FAIL_COND(!_object->has_method(_method));
set_current_run_stage(0);
#if VERSION_MAJOR < 4
set_start_time(OS::get_singleton()->get_system_time_msecs());
Variant::CallError error;
#else
set_start_time(OS::get_singleton()->get_ticks_msec());
Callable::CallError error;
#endif