adventskalender/shared/js/lock.js aktualisiert

This commit is contained in:
2025-11-05 21:16:35 +00:00
parent 4d2e02aac5
commit a6e8c0f5fa

View File

@@ -171,8 +171,8 @@ window.isDoorUnlocked = function (day) {
if (sim !== null) {
return parseInt(day, 10) <= sim;
}
// wenn kein sim gesetzt, im dev alles offen
return true;
// Wenn kein Sim-Tag gesetzt → normale Tageslogik verwenden
return _checkDoorUnlocked(day);
}
// sonst normale Prüfung