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
|
|
@ -3628,7 +3628,7 @@ function fantasyMap() {
|
|||
}
|
||||
d3.select("#burgTogglePort").classed("pressed", cell.port !== undefined);
|
||||
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);
|
||||
|
||||
$("#burgEditor").dialog({
|
||||
|
|
@ -3915,9 +3915,9 @@ function fantasyMap() {
|
|||
manors[id].population = +this.value;
|
||||
});
|
||||
|
||||
$("#burgMFCGLink").on("input", function() {
|
||||
$("#burgLink").on("input", function() {
|
||||
const id = +elSelected.attr("data-id");
|
||||
manors[id].link = this.value;
|
||||
manors[id].mfcglink = this.value;
|
||||
});
|
||||
|
||||
$("#burgRelocate").click(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue