mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
feat: burg-groups - save settings between sessions
This commit is contained in:
parent
95b7ed9ea4
commit
5ed31dd8bf
4 changed files with 11 additions and 1 deletions
2
main.js
2
main.js
|
|
@ -161,7 +161,7 @@ let options = {
|
|||
stateLabelsMode: "auto",
|
||||
showBurgPreview: true,
|
||||
burgs: {
|
||||
groups: Burgs.getDefaultGroups()
|
||||
groups: JSON.safeParse(localStorage.getItem("burg-groups")) || Burgs.getDefaultGroups()
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue