Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps

Home Page:https://azgaar.github.io/Fantasy-Map-Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot erase diplomatic relations

Avid-Xenoblade-Player opened this issue · comments

When pressing the button that says 'reset diplomatical relations of selected state to neutral' in the diplomacy editor, it doesn't always change all relations to neutral. Sometimes it happens instantly, sometimes it took about 1 or 2 hours to load the change, sometimes it simply didn't change it at all.

Steps to reproduce

  1. Open the diplomacy editor.

  2. Choose any state.
    image

  3. Press the 'reset diplomatical relations of selected state to Neutral' button.

Expected behavior
I would have thought that this would make this state's relations with all other states neutral.

.map file

Riftmoria 2023-11-14-10-06.zip

Screenshots

Before clicking button
Screenshot 2023-11-14 10 08 28
After clicking button
Screenshot 2023-11-14 10 08 38

System

  • Version: 1.93.11
  • Browser: Chrome
  • OS: Chrome OS (Yes, it's a Chromebook - but I bought it myself; it isn't a school Chromebook.)

Console output

Uncaught TypeError: Cannot set properties of undefined (setting '17') at diplomacy-editor.js?v=1.88.04:358:45 at Array.forEach (<anonymous>) at HTMLButtonElement.resetRelations (diplomacy-editor.js?v=1.88.04:355:34)

Riftmoria 2023-11-14-10-06.zip
Solved, not quite sure what was the main culprit, but hitting "Regenerate Diplomatical relations" before "Set all as neutral" worked.

oh, ok. i'll try