mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
Fixing issue from changing burgMFCGLink -> burgLink
This commit is contained in:
parent
f8bf4d0913
commit
05244e9f63
1 changed files with 4 additions and 4 deletions
|
|
@ -96,7 +96,7 @@ function fantasyMap() {
|
||||||
let notes = [];
|
let notes = [];
|
||||||
let queue = [];
|
let queue = [];
|
||||||
const fonts = ["Almendra+SC", "Georgia", "Times+New+Roman", "Comic+Sans+MS", "Lucida+Sans+Unicode", "Courier+New"];
|
const fonts = ["Almendra+SC", "Georgia", "Times+New+Roman", "Comic+Sans+MS", "Lucida+Sans+Unicode", "Courier+New"];
|
||||||
|
|
||||||
// Cultures-related data
|
// Cultures-related data
|
||||||
let defaultCultures = [];
|
let defaultCultures = [];
|
||||||
let cultures = [];
|
let cultures = [];
|
||||||
|
|
@ -3628,7 +3628,7 @@ function fantasyMap() {
|
||||||
}
|
}
|
||||||
d3.select("#burgTogglePort").classed("pressed", cell.port !== undefined);
|
d3.select("#burgTogglePort").classed("pressed", cell.port !== undefined);
|
||||||
burgPopulation.value = manors[id].population;
|
burgPopulation.value = manors[id].population;
|
||||||
burgMFCGLink.value = manors[id].link || "Generate";
|
burgLink.value = manors[id].mfcglink || "Generate";
|
||||||
burgPopulationFriendly.value = rn(manors[id].population * urbanization.value * populationRate.value * 1000);
|
burgPopulationFriendly.value = rn(manors[id].population * urbanization.value * populationRate.value * 1000);
|
||||||
|
|
||||||
$("#burgEditor").dialog({
|
$("#burgEditor").dialog({
|
||||||
|
|
@ -3915,9 +3915,9 @@ function fantasyMap() {
|
||||||
manors[id].population = +this.value;
|
manors[id].population = +this.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#burgMFCGLink").on("input", function() {
|
$("#burgLink").on("input", function() {
|
||||||
const id = +elSelected.attr("data-id");
|
const id = +elSelected.attr("data-id");
|
||||||
manors[id].link = this.value;
|
manors[id].mfcglink = this.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#burgRelocate").click(function() {
|
$("#burgRelocate").click(function() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue