fix: not sure why I removed this
This commit is contained in:
parent
14f01f4ebe
commit
b2d588f4e7
|
@ -32,6 +32,9 @@ export class Followed extends Trait {
|
||||||
}
|
}
|
||||||
|
|
||||||
onRoomSizeChanged() {
|
onRoomSizeChanged() {
|
||||||
|
if (!this.entity.is('roomed')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this._camera.areaSize = this.entity.room.size;
|
this._camera.areaSize = this.entity.room.size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user