mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
feat: allow to crean data in case of load error
This commit is contained in:
parent
80da2f0cda
commit
2d0030e3d4
4 changed files with 8 additions and 5 deletions
2
main.js
2
main.js
|
|
@ -691,7 +691,7 @@ async function generate(options) {
|
|||
title: "Generation error",
|
||||
width: "32em",
|
||||
buttons: {
|
||||
"Cleanup data": cleanupData,
|
||||
"Clear cache": () => cleanupData(),
|
||||
Regenerate: function () {
|
||||
regenerateMap("generation error");
|
||||
$(this).dialog("close");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue