From 6b4d5d467a023ddf56683a3b4b7d045a30c6d3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sat, 8 May 2021 10:08:37 +0200 Subject: [PATCH] use EcsPostUpdate for tracker upd --- code/modules/source/physics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/source/physics.c b/code/modules/source/physics.c index 227bd0c..d99a498 100644 --- a/code/modules/source/physics.c +++ b/code/modules/source/physics.c @@ -43,7 +43,7 @@ void PhysicsImport(ecs_world_t *ecs) { ECS_META(ecs, 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_ENTITY(Walking);