adventskalender/shared/js/lock.js aktualisiert
This commit is contained in:
@@ -171,8 +171,8 @@ window.isDoorUnlocked = function (day) {
|
|||||||
if (sim !== null) {
|
if (sim !== null) {
|
||||||
return parseInt(day, 10) <= sim;
|
return parseInt(day, 10) <= sim;
|
||||||
}
|
}
|
||||||
// wenn kein sim gesetzt, im dev alles offen
|
// Wenn kein Sim-Tag gesetzt → normale Tageslogik verwenden
|
||||||
return true;
|
return _checkDoorUnlocked(day);
|
||||||
}
|
}
|
||||||
|
|
||||||
// sonst normale Prüfung
|
// sonst normale Prüfung
|
||||||
|
|||||||
Reference in New Issue
Block a user