This commit is contained in:
DeltaNedas
2020-08-29 16:18:40 +00:00
committed by GitHub
parent d1094492bd
commit 1f543f6c18

View File

@ -42,7 +42,8 @@ public class LExecutor{
vars[varTime].numval = Time.millis();
//reset to start
if(vars[varCounter].numval >= instructions.length) vars[varCounter].numval = 0;
if(vars[varCounter].numval >= instructions.length
|| vars[varCounter].numval < 0) vars[varCounter].numval = 0;
if(vars[varCounter].numval < instructions.length){
instructions[(int)(vars[varCounter].numval++)].run(this);