chore: use container

This commit is contained in:
cha0s 2019-03-19 11:59:47 -05:00
parent 1969657651
commit 97ad01b426

View File

@ -29,7 +29,7 @@ class GraphicalBase extends Trait {
}
shouldSynchronizePosition() {
return hasGraphics && this.trackPosition;
return this.entity.container && this.trackPosition;
}
synchronizePosition() {