use EcsPostUpdate for tracker upd

isolation_bkp/dynres
Dominik Madarász 2021-05-08 10:08:37 +02:00
parent 178ca92ff7
commit 6b4d5d467a
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ void PhysicsImport(ecs_world_t *ecs) {
ECS_META(ecs, Velocity); ECS_META(ecs, Velocity);
ECS_SYSTEM(ecs, MoveWalk, EcsOnUpdate, general.Position, Velocity); ECS_SYSTEM(ecs, MoveWalk, EcsOnUpdate, general.Position, Velocity);
ECS_SYSTEM(ecs, UpdateTrackerPos, EcsOnValidate, general.Position); ECS_SYSTEM(ecs, UpdateTrackerPos, EcsPostUpdate, general.Position);
ECS_SET_TYPE(Movement); ECS_SET_TYPE(Movement);
ECS_SET_ENTITY(Walking); ECS_SET_ENTITY(Walking);