Azgaar / Fantasy-Map-Generator

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

Cannot regenerate states for an edited map #1111

Closed Broseten closed 2 months ago

Broseten commented 2 months ago

Describe the bug I am trying to regenerate states for a (DnD based) map that I've been working on for a while. I keep getting this error in the console: TypeError: Cannot read properties of null (reading 'value') at recreateStates (tools.js?v=1.99.00:179:32) at regenerateStates (tools.js?v=1.99.00:149:21) at processFeatureRegeneration (tools.js?v=1.99.00:87:43) at HTMLDivElement.Proceed (tools.js?v=1.99.00:42:11) at HTMLButtonElement.<anonymous> (jquery-ui.min.js:1:102587) at HTMLButtonElement.dispatch (jquery-3.1.1.min.js:3:10315) at q.handle (jquery-3.1.1.min.js:3:8342)

I have manually made these changes to the map:

  1. Modified the heightmap.
  2. Modified cultures and their names.
  3. Uploaded a custom namebase.

Steps to reproduce

  1. Upload the map file into the web editor.
  2. Click 'Tools -> Regenerate -> States'.
  3. Click proceed in the pop-up.

Expected behavior States regenerate.

.map file Graneia 2024-08-23-02-18.zip

System

Azgaar commented 2 months ago

Please clear cache and check again now.

Broseten commented 2 months ago

Perfect 👍 Thanks for the quick response!