L0laapk3 / FactorioMaps

L0laapk3's FactorioMaps mod
https://mods.factorio.com/mod/L0laapk3_FactorioMaps
Other
122 stars 22 forks source link

Map not rendering (JS error) #87

Closed K-4U closed 4 years ago

K-4U commented 4 years ago

I'm getting an uncaught TypeError: layer is undefined when i load up my map. I've got about 3 snapshots now, but after the second one, i'm not getting any anymore.

I've uploaded to https://k-4u.eu/factorio/jeroen/ for you to check out. Any help would be great! :)

K-4U commented 4 years ago

Nvm.. I managed to fix it. Sorry for polluting the issue tracker.

What happened was that i had a generation go wrong that caused it to put in a nightmode for 1 of the maps, but not the others! This meant it was trying to add a night-mode slider where there was none. I've manually edited the js and json files and now all is well!