diff options
| author | HampusM <hampus@hampusmat.com> | 2026-05-02 18:47:18 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-05-02 18:47:18 +0200 |
| commit | 9dfd0a9ef9a54dab5fb88ed9158bd4184212008e (patch) | |
| tree | e40cbfb018c487d78ef1c570258a87a1d2245e98 /ecs/src/phase.rs | |
| parent | e698922e86c217a261db114ce0392060503f0013 (diff) | |
fix(ecs): make system with local comps not low/high priority in run order
Diffstat (limited to 'ecs/src/phase.rs')
| -rw-r--r-- | ecs/src/phase.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ecs/src/phase.rs b/ecs/src/phase.rs index 39f2a08..e8d9b71 100644 --- a/ecs/src/phase.rs +++ b/ecs/src/phase.rs @@ -1,6 +1,6 @@ use ecs_macros::Component; -use crate::{declare_entity, World}; +use crate::{World, declare_entity}; #[derive(Debug, Default, Clone, Copy, Component)] pub struct Phase; @@ -17,3 +17,6 @@ pub(crate) fn spawn_entities(world: &mut World) world.create_declared_entity(&UPDATE); world.create_declared_entity(&POST_UPDATE); } + +#[derive(Debug, Component)] +pub(crate) struct HasSystem; |
