From 89f65433f5e17caa7f1500976c461bf992894572 Mon Sep 17 00:00:00 2001 From: Vincent Date: Sun, 22 Nov 2020 14:00:06 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 35 ++++++++++++----------------------- scripts/lib/scenes.php | 7 +------ 2 files changed, 13 insertions(+), 29 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 80753c5..5e5be9a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,6 @@ - @@ -1307,12 +1296,12 @@ - + - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 598eea8..c63b8e9 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -796,17 +796,12 @@ function chambreToggle() function wcToggle() { if (getState('wc') == 1) { - wcOff(); + execScene('wc/off'); } else { wcOn(); } } -function wcOff() -{ - execScene('wc/off'); -} - function sdbToggle() { if (getState('sdb') == 1) { -- 2.39.5