From d8c1aa943199083a00ed1acf310a55027cc12bd8 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 7 Feb 2024 16:19:59 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 11 +++-------- scripts/lib/scenes.php | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d88927b..7e9e9c7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,12 +5,7 @@ - - - - - - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 5e444bc..6b82d17 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -1031,7 +1031,7 @@ function wcOn($vmc = true) $hour = getHour(); if (getNightMode('chambre') && getNightMode('bureau')) { $period = 'night'; - } else if (getNightMode('chambre') && !getNightMode('bureau')) { + } else if (getNightMode() && !getNightMode('bureau')) { $period = 'silentmorning'; } else if ($hour > 0 && $hour < 6.75) { $period = 'late'; -- 2.39.5