mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-11-16 12:28:42 -06:00
check before first step
This commit is contained in:
parent
8790454b23
commit
73695dcd5a
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue