mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
refactor: generate historical conflicts
This commit is contained in:
parent
a2192fb984
commit
9b3a3f2e48
11 changed files with 81 additions and 28 deletions
|
|
@ -149,11 +149,8 @@ window.Names = (function () {
|
|||
// generate short name for base
|
||||
const getBaseShort = function (base) {
|
||||
if (nameBases[base] === undefined) {
|
||||
tip(
|
||||
`Namebase ${base} does not exist. Please upload custom namebases of change the base in Cultures Editor`,
|
||||
false,
|
||||
"error"
|
||||
);
|
||||
const message = `Namebase ${base} does not exist. Please upload custom namebases of change the base in Cultures Editor`;
|
||||
tip(message, false, "error");
|
||||
base = 1;
|
||||
}
|
||||
const min = nameBases[base].min - 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue