chore: use container
This commit is contained in:
parent
1969657651
commit
97ad01b426
|
@ -29,7 +29,7 @@ class GraphicalBase extends Trait {
|
|||
}
|
||||
|
||||
shouldSynchronizePosition() {
|
||||
return hasGraphics && this.trackPosition;
|
||||
return this.entity.container && this.trackPosition;
|
||||
}
|
||||
|
||||
synchronizePosition() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user