From 6b0b201d724d560cc8f12af44c69a5c02ca5695e Mon Sep 17 00:00:00 2001 From: Contrabang <91113370+Contrabang@users.noreply.github.com> Date: Thu, 6 Jun 2024 15:56:35 -0400 Subject: [PATCH] Makes event not sleep (for real this time) (#25558) * makes this shit not sleep * make OD happy --- code/modules/events/event.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/modules/events/event.dm b/code/modules/events/event.dm index 8d1d4e03da3..9a3213d75eb 100644 --- a/code/modules/events/event.dm +++ b/code/modules/events/event.dm @@ -91,6 +91,7 @@ * Ensure no sleep is called. Use INVOKE_ASYNC to call procs which do. */ /datum/event/proc/start() + SHOULD_NOT_SLEEP(TRUE) return /** @@ -101,6 +102,7 @@ * Ensure no sleep is called. Use INVOKE_ASYNC to call procs which do. */ /datum/event/proc/announce(false_alarm = FALSE) + SHOULD_NOT_SLEEP(TRUE) return /** @@ -112,6 +114,7 @@ * Ensure no sleep is called. Use INVOKE_ASYNC to call procs which do. */ /datum/event/proc/tick() + SHOULD_NOT_SLEEP(TRUE) return /** @@ -125,6 +128,7 @@ * Ensure no sleep is called. Use INVOKE_ASYNC to call procs which do. */ /datum/event/proc/end() + SHOULD_NOT_SLEEP(TRUE) return /**