fix: priority
This commit is contained in:
parent
9b60744ae2
commit
5c25fee186
|
@ -2,6 +2,12 @@ import {System} from '@/ecs/index.js';
|
||||||
|
|
||||||
export default class SpriteDirection extends System {
|
export default class SpriteDirection extends System {
|
||||||
|
|
||||||
|
static get priority() {
|
||||||
|
return {
|
||||||
|
after: 'ControlDirection',
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
static queries() {
|
static queries() {
|
||||||
return {
|
return {
|
||||||
default: ['Sprite'],
|
default: ['Sprite'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user