diff --git a/src/Internal/Editor/RuntimeComponentsDrawer.cs b/src/Internal/Editor/RuntimeComponentsDrawer.cs index 0efa333..de23e32 100644 --- a/src/Internal/Editor/RuntimeComponentsDrawer.cs +++ b/src/Internal/Editor/RuntimeComponentsDrawer.cs @@ -231,7 +231,15 @@ namespace DCFApixels.DragonECS.Unity.Editors.X { if (_runtimeComponentsDepth == RuntimeComponentsDepthRoot) { - _drawers[0].DrawWorldComponents_Internal(world); + try + { + _runtimeComponentsDepth = 0; + _drawers[0].DrawWorldComponents_Internal(world); + } + finally + { + _runtimeComponentsDepth = RuntimeComponentsDepthRoot; + } } } private void DrawWorldComponents_Internal(EcsWorld world)