mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
religions-generator.js (#724)
Sorted the lists, arrays and weighted arrays of items in alphabetical order. Some remain in the order assigned by weighted random. I think this helps people spot missing items on the list if they check by name. The number of items is the same, they just got reordered.
This commit is contained in:
parent
0f1e86fab6
commit
a51d2e6403
2 changed files with 117 additions and 165 deletions
5
main.js
5
main.js
|
|
@ -783,12 +783,7 @@ async function generate(options) {
|
|||
const parsedError = parseError(error);
|
||||
clearMainTip();
|
||||
|
||||
<<<<<<< HEAD
|
||||
alertMessage.innerHTML = /* html */ `An error has occurred on map generation. Please retry. <br />If error is critical, clear the stored data and try again.
|
||||
=======
|
||||
alertMessage.innerHTML = `An error has occurred on map generation. Please retry.
|
||||
<br>If error is critical, clear the stored data and try again.
|
||||
>>>>>>> ffb073fe (Update main.js (#722))
|
||||
<p id="errorBox">${parsedError}</p>`;
|
||||
$("#alert").dialog({
|
||||
resizable: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue