adventskalender/shared/js/lock.js aktualisiert
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user