From 51791ff8dcbc73b798c504c3422086ec7b75f0a2 Mon Sep 17 00:00:00 2001 From: Lactozilla <jp6781615@gmail.com> Date: Wed, 27 Dec 2023 23:23:29 -0300 Subject: [PATCH] Run the callback immediately if running a dedicated server --- src/f_wipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/f_wipe.c b/src/f_wipe.c index 5fdc0f4556..166eb11e4a 100644 --- a/src/f_wipe.c +++ b/src/f_wipe.c @@ -495,7 +495,7 @@ void ScreenWipe_StartParametrized(wipe_t *wipe) paldiv = FixedDiv(257<<FRACBITS, 11<<FRACBITS); #endif - if (wipe_numqueued >= WIPEQUEUESIZE || wipe->type == UINT8_MAX) + if (dedicated || wipe_numqueued >= WIPEQUEUESIZE || wipe->type == UINT8_MAX) { // Can't queue it, but its callback has to run. if (wipe->callback) -- GitLab