fix defines

This commit is contained in:
DCFApixels 2025-04-04 15:07:48 +08:00
parent 3b4ae9ddb6
commit ed4b101e90

View File

@ -89,7 +89,7 @@ namespace DCFApixels.DragonECS.Internal
public EcsSpan Execute() public EcsSpan Execute()
{ {
Execute_Iternal(); Execute_Iternal();
#if DEBUG || DRAGONECS_DEEP_DEBUG #if DEBUG && DRAGONECS_DEEP_DEBUG
var newSpan = new EcsSpan(World.ID, _filteredAllEntities, _filteredAllEntitiesCount); var newSpan = new EcsSpan(World.ID, _filteredAllEntities, _filteredAllEntitiesCount);
using (EcsGroup group = EcsGroup.New(World)) using (EcsGroup group = EcsGroup.New(World))
{ {
@ -121,7 +121,7 @@ namespace DCFApixels.DragonECS.Internal
return Execute(); return Execute();
} }
ExecuteFor_Iternal(span); ExecuteFor_Iternal(span);
#if DEBUG || DRAGONECS_DEEP_DEBUG #if DEBUG && DRAGONECS_DEEP_DEBUG
var newSpan = new EcsSpan(World.ID, _filteredEntities, _filteredEntitiesCount); var newSpan = new EcsSpan(World.ID, _filteredEntities, _filteredEntitiesCount);
foreach (var e in newSpan) foreach (var e in newSpan)
{ {