mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-25 21:28:20 -06:00
check before first step
This commit is contained in:
parent
56fe70765f
commit
b487da6474
|
@ -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