lock burg - values is boolean, not 1/0

This commit is contained in:
Azgaar 2022-01-01 19:09:50 +03:00
parent 18acadfd80
commit a55e8d96ff
3 changed files with 8 additions and 8 deletions

View file

@ -362,7 +362,9 @@ function editBurg(id) {
function toggleBurgLockButton() {
const id = +elSelected.attr("data-id");
toggleBurgLock(id);
const burg = pack.burgs[id];
burg.lock = !burg.lock;
updateBurgLockIcon();
}