chore: early out
This commit is contained in:
parent
fb19cdfc69
commit
1969657651
|
@ -33,9 +33,10 @@ class GraphicalBase extends Trait {
|
|||
}
|
||||
|
||||
synchronizePosition() {
|
||||
if ('position' in this.entity) {
|
||||
this.entity.container.position = this.entity.position;
|
||||
if (!('position' in this.entity)) {
|
||||
return;
|
||||
}
|
||||
this.entity.container.position = this.entity.position;
|
||||
}
|
||||
|
||||
listeners() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user