Fix tests

This commit is contained in:
Krzosa Karol
2026-03-21 16:57:07 +01:00
parent 4c21026842
commit aa85d9420a
5 changed files with 62 additions and 218 deletions

View File

@@ -80,7 +80,8 @@ void UpdateCoroutines(Event *event) {
#endif
double took = GetTimeSeconds() - start;
if (took > (0.016666 / 3.0)) {
bool dont_loop_on_coroutines_when_budget_is_ok_exit_immediately = Testing;
if (dont_loop_on_coroutines_when_budget_is_ok_exit_immediately || (took > (0.016666 / 3.0))) {
break;
}
}