Skip to content

Commit 4ffe3b2

Browse files
committed
current tick fix after rebase
1 parent 6ea722b commit 4ffe3b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

reference/async_reference/async.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,8 @@ ecsact_async_request_id ecsact_async_enqueue_execution_options(
6969
}
7070

7171
int32_t ecsact_async_get_current_tick() {
72-
return async::reference->get_current_tick();
72+
if(reference) {
73+
return reference->get_current_tick();
74+
}
75+
return 0;
7376
}

0 commit comments

Comments
 (0)