From 5c25fee18644f2bb5d21e1885098bc82a0150312 Mon Sep 17 00:00:00 2001 From: cha0s Date: Thu, 29 Aug 2024 15:28:25 -0500 Subject: [PATCH] fix: priority --- app/ecs/systems/sprite-direction.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/ecs/systems/sprite-direction.js b/app/ecs/systems/sprite-direction.js index d659d32..cb02550 100644 --- a/app/ecs/systems/sprite-direction.js +++ b/app/ecs/systems/sprite-direction.js @@ -2,6 +2,12 @@ import {System} from '@/ecs/index.js'; export default class SpriteDirection extends System { + static get priority() { + return { + after: 'ControlDirection', + }; + } + static queries() { return { default: ['Sprite'],