Set the correct world object in map definitions

This commit is contained in:
James Lyne 2021-07-25 17:31:02 +01:00
parent 5cf353cd8a
commit 0aa61517dc

View File

@ -120,7 +120,7 @@ export default class DynmapMapProvider extends MapProvider {
}
w.maps.set(map.name, new LiveAtlasMapDefinition({
world: world, //Ignore append_to_world here otherwise things break
world: w, //Ignore append_to_world here otherwise things break
background: map.background || '#000000',
backgroundDay: map.backgroundday || '#000000',
backgroundNight: map.backgroundnight || '#000000',