Allow mods to change the size of a map
this.events.on('onBeforeGetMapSize', this.onBeforeGetMapSize.bind(this));
onBeforeGetMapSize: function (mapName, size) {
if (mapName !== 'fjolarok')
return;
const { mapW, mapH, mapOffset: { x, y } } = this;
if (size.w < x + mapW)
size.w = x + mapW;
if (size.h < y + mapH)
size.h = y + mapH;
}