mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix: regenerate grid if seed is manually changed (1.88.02)
This commit is contained in:
parent
0b1a2048a7
commit
425325888e
6 changed files with 27 additions and 17 deletions
|
|
@ -257,8 +257,8 @@ function testSpeaker() {
|
|||
}
|
||||
|
||||
function generateMapWithSeed() {
|
||||
if (optionsSeed.value == seed) return tip("The current map already has this seed", false, "error");
|
||||
regeneratePrompt();
|
||||
if (optionsSeed.value === seed) return tip("The current map already has this seed", false, "error");
|
||||
regeneratePrompt({seed: optionsSeed.value});
|
||||
}
|
||||
|
||||
function showSeedHistoryDialog() {
|
||||
|
|
@ -288,7 +288,7 @@ function restoreSeed(id) {
|
|||
|
||||
if (locked("template")) unlock("template");
|
||||
|
||||
regeneratePrompt();
|
||||
regeneratePrompt({seed});
|
||||
}
|
||||
|
||||
function restoreDefaultZoomExtent() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue