Update EcsWorld.cs

This commit is contained in:
Mikhail 2024-03-11 06:48:43 +08:00
parent 43ee5e3711
commit 7bf943f7c1

View File

@ -165,7 +165,7 @@ namespace DCFApixels.DragonECS
EcsDebug.PrintWarning("The world is already destroyed"); EcsDebug.PrintWarning("The world is already destroyed");
return; return;
} }
if(id == NULL_WORLD_ID) if (id == NULL_WORLD_ID)
{ {
#if (DEBUG && !DISABLE_DEBUG) #if (DEBUG && !DISABLE_DEBUG)
Throw.World_WorldCantBeDestroyed(); Throw.World_WorldCantBeDestroyed();