check before first step

This commit is contained in:
griffi-gh 2024-05-02 18:16:29 +02:00
parent 56fe70765f
commit b487da6474

View file

@ -66,6 +66,8 @@ macro_rules! run_steps {
::atomic::Ordering::Relaxed ::atomic::Ordering::Relaxed
).is_ok(); ).is_ok();
if _chkabt() { return false }
$({ $({
let _ensure_ref: &mut $crate::worldgen::WorldGenerator = $gen; let _ensure_ref: &mut $crate::worldgen::WorldGenerator = $gen;
struct _Ensure0<T: $crate::worldgen::WorldGenStep>(T); struct _Ensure0<T: $crate::worldgen::WorldGenStep>(T);