From b487da647477d22f8159886a3d6608add8ff0204 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Thu, 2 May 2024 18:16:29 +0200 Subject: [PATCH] check before first step --- kubi-shared/src/worldgen.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kubi-shared/src/worldgen.rs b/kubi-shared/src/worldgen.rs index edfe938..d15d8bd 100644 --- a/kubi-shared/src/worldgen.rs +++ b/kubi-shared/src/worldgen.rs @@ -66,6 +66,8 @@ macro_rules! run_steps { ::atomic::Ordering::Relaxed ).is_ok(); + if _chkabt() { return false } + $({ let _ensure_ref: &mut $crate::worldgen::WorldGenerator = $gen; struct _Ensure0(T);