From 748dd0ad2ab93f574192d50a58de7c67adaa2153 Mon Sep 17 00:00:00 2001 From: Cedric Date: Wed, 27 Sep 2023 17:53:55 +0200 Subject: [PATCH] feat: presignals get turned off when main signal is present --- .../opensignals/signalconfigs/reset/hv_config.json | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/main/resources/assets/opensignals/signalconfigs/reset/hv_config.json b/src/main/resources/assets/opensignals/signalconfigs/reset/hv_config.json index 1e38e18b2..0087cb33e 100644 --- a/src/main/resources/assets/opensignals/signalconfigs/reset/hv_config.json +++ b/src/main/resources/assets/opensignals/signalconfigs/reset/hv_config.json @@ -1,13 +1,7 @@ { "currentSignal": "hvsignal", - "values": [ - "stopsignal.HP0", - "hphome.HP0", - "hpblock.HP0", - "distantsignal.VR0", - "zs3.OFF", - "zs3v.OFF", - "zs1.FALSE", - "zs7.FALSE" - ] + "values": { + "true": ["stopsignal.HP0","hphome.HP0","hpblock.HP0","distantsignal.VR0","zs3.OFF","zs3v.OFF","zs1.FALSE","zs7.FALSE"], + "!config(HPTYPE.OFF)": ["distantsignal.OFF"] + } } \ No newline at end of file