fix broken return on if statement

This commit is contained in:
2023-08-08 18:58:24 +01:00
parent 583e28b2f7
commit 6b804f58d2

View File

@@ -69,7 +69,7 @@ func parseIfStatement(code UNPARSEcode, index int, codeline []UNPARSEcode) (ifst
}, },
i, i,
codeline, codeline,
1, 2,
) )
if err.EXISTS || !worked { if err.EXISTS || !worked {
return ifstatement{}, worked, err, step return ifstatement{}, worked, err, step