fix: not sure why I removed this

This commit is contained in:
cha0s 2019-04-30 18:34:13 -05:00
parent 14f01f4ebe
commit b2d588f4e7

View File

@ -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;
} }