fix: size matters
This commit is contained in:
parent
68d826bc70
commit
c42ed8e4fd
|
@ -86,12 +86,12 @@ export default (latus) => class Room extends decorate(JsonResource) {
|
|||
}
|
||||
|
||||
load({layersInstance, size} = {}) {
|
||||
if (layersInstance) {
|
||||
this.setLayers(layersInstance);
|
||||
}
|
||||
if (size) {
|
||||
this.size = size;
|
||||
}
|
||||
if (layersInstance) {
|
||||
this.setLayers(layersInstance);
|
||||
}
|
||||
}
|
||||
|
||||
onEntityAddedToRoom(entity) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user