adventskalender/shared/js/lock.js aktualisiert
This commit is contained in:
1 parent
4d2e02aac5
commit
a6e8c0f5fa
1 file changed
+3
-3
@@ -171,9 +171,9 @@ 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
|
||||||
return _checkDoorUnlocked(day);
|
return _checkDoorUnlocked(day);
|
||||||
|
|||||||
Reference in new issue
Block a user