fix: lock all burgs

This commit is contained in:
Azgaar 2024-10-16 15:20:44 +02:00
parent c447afb829
commit efbe0373b0
3 changed files with 3 additions and 3 deletions

View file

@ -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;
});