defines refactoring

This commit is contained in:
DCFApixels 2025-03-15 15:10:47 +08:00
parent a38975cc7d
commit 543534f447

View File

@ -72,7 +72,7 @@ namespace DCFApixels.DragonECS
{ {
if (_isRunning) if (_isRunning)
{ {
#if DEBUG || ENABLE_DRAGONECS_ASSERT_CHEKS #if DEBUG || DRAGONECS_STABILITY_MODE
if (_threads.Any(o => o.thread == Thread.CurrentThread)) if (_threads.Any(o => o.thread == Thread.CurrentThread))
{ {
Throw.DoubleParallelIteration(); Throw.DoubleParallelIteration();