Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.48k stars 636 forks source link

Map will not save to machine #1084

Closed draugnir closed 1 month ago

draugnir commented 2 months ago

Describe the bug Map will not save to machine, dropbox or browser.

Steps to reproduce

  1. Create custom map
  2. Use heightmap to create landmass
  3. Exit map editor
  4. Click Save button on UI
  5. Select Machine on UI
  6. Following message is displayed:

" TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) at Function.from () at prepareMapData (save.js?v=1.96.00:111:21) at saveMap (save.js?v=1.96.00:9:21) at HTMLButtonElement.onclick (:5991:121) "

Expected behavior Save map as a .map file on machine

System

Azgaar commented 2 months ago

Hello. It looks like a namesbase data issue. Go to Namesbase and restore the defaults there.

draugnir commented 2 months ago

I'm not sure what the namebase data issue is but I changed the auto translate setting and it will now allow me to save.

Azgaar commented 2 months ago

Interesting. I know that translate can break the map, but no about issues with saving the .map file.