From 3766a744f49ae796c46b7eb8e3f001172075145c Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Sun, 15 Nov 2020 02:52:24 +0300 Subject: [PATCH] bug fixed with scenario init --- src/ItemsList.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ItemsList.cpp b/src/ItemsList.cpp index 926eb313..290380f2 100644 --- a/src/ItemsList.cpp +++ b/src/ItemsList.cpp @@ -63,6 +63,7 @@ void addPreset(String name) { String scenario = readFile("presets/" + name + ".txt", 4048); removeFile(DEVICE_SCENARIO_FILE); addFile(DEVICE_SCENARIO_FILE, scenario); + loadScenario(); } void delAllItems() {