Remove extraneous reset of loop var.

Fixes #135

Thanks to bylins for the fix - https://github.com/bylins
This commit is contained in:
welcor 2024-09-28 20:14:47 +02:00
parent e76c603110
commit 2e152a2424

View file

@ -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);