From 2e152a24247406e3f7123c78918c8830aa177451 Mon Sep 17 00:00:00 2001 From: welcor <357770+welcor@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:14:47 +0200 Subject: [PATCH] Remove extraneous reset of loop var. Fixes #135 Thanks to bylins for the fix - https://github.com/bylins --- src/dg_scripts.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dg_scripts.c b/src/dg_scripts.c index 978cf6d..c818f19 100644 --- a/src/dg_scripts.c +++ b/src/dg_scripts.c @@ -2579,7 +2579,6 @@ int script_driver(void *go_adress, trig_data *trig, int type, int mode) temp->original = cl; } else { cl = temp; - loops = 0; } } else if (!strn_cmp("switch ", p, 7)) { cl = find_case(trig, cl, go, sc, type, p + 7);