Minor changes for zone types

This commit is contained in:
Evolvedexperiment 2022-01-21 15:53:47 +00:00
parent 16312aa864
commit 138cf5533b
2 changed files with 43 additions and 29 deletions

View file

@ -1849,7 +1849,8 @@ function addZones(number = 1) {
}
// Update zone types
function updateZoneType(zone, newType) {
function updateZoneType(zoneId, newType) {
const zone = document.getElementById(zoneId);
if (zone) {
zone.dataset.type = newType;
}