Fix hardcoded background

This commit is contained in:
James Lyne 2020-12-19 12:40:09 +00:00
parent f073d7cda2
commit d4f7f4a684

View File

@ -84,7 +84,7 @@ function buildWorlds(response: any): Array<DynmapWorld> {
(world.maps || []).forEach((map: any) => { (world.maps || []).forEach((map: any) => {
maps.set(map.name, { maps.set(map.name, {
world: world, world: world,
background: '#121212', //map.background || '#000000', background: map.background || '#000000',
backgroundDay: map.backgroundday || '#000000', backgroundDay: map.backgroundday || '#000000',
backgroundNight: map.backgroundnight || '#000000', backgroundNight: map.backgroundnight || '#000000',
compassView: map.compassview || 'S', compassView: map.compassview || 'S',