mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 02:01:22 +01:00
lock burg - values is boolean, not 1/0
This commit is contained in:
parent
18acadfd80
commit
a55e8d96ff
3 changed files with 8 additions and 8 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue