mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
v1.0.28
This commit is contained in:
parent
6aec843b47
commit
7bb151f24e
1 changed files with 6 additions and 4 deletions
|
|
@ -696,10 +696,12 @@ function parseLoadedData(data) {
|
|||
labels.attr("display", null);
|
||||
|
||||
// v 1.0 added religions heirarchy tree
|
||||
pack.religions.filter(r => r.i).forEach(r => {
|
||||
r.origin = 0;
|
||||
r.code = r.name.slice(0, 2);
|
||||
});
|
||||
if (pack.religions[1] && !pack.religions[1].code) {
|
||||
pack.religions.filter(r => r.i).forEach(r => {
|
||||
r.origin = 0;
|
||||
r.code = r.name.slice(0, 2);
|
||||
});
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue