mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
feat: Update version and use constant for VERSION in multiple files
This commit is contained in:
parent
5fd55f3f9c
commit
5ec682562b
8 changed files with 31 additions and 32 deletions
2
main.js
2
main.js
|
|
@ -684,7 +684,7 @@ async function generate(options) {
|
|||
buttons: {
|
||||
"Clear data": function () {
|
||||
localStorage.clear();
|
||||
localStorage.setItem("version", version);
|
||||
localStorage.setItem("version", VERSION);
|
||||
},
|
||||
Regenerate: function () {
|
||||
regenerateMap("generation error");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue