mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix: lock all burgs
This commit is contained in:
parent
c447afb829
commit
efbe0373b0
3 changed files with 3 additions and 3 deletions
|
|
@ -608,7 +608,7 @@ function overviewBurgs(settings = {stateId: null, cultureId: null}) {
|
|||
const activeBurgs = pack.burgs.filter(b => b.i && !b.removed);
|
||||
const allLocked = activeBurgs.every(burg => burg.lock);
|
||||
|
||||
pack.burgs.forEach(burg => {
|
||||
activeBurgs.forEach(burg => {
|
||||
burg.lock = !allLocked;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue