Fix a couple things
This commit is contained in:
@@ -135,7 +135,7 @@ void _GroundInternalRun(GroundProgram* program, GroundState* state) {
|
||||
break;
|
||||
default:
|
||||
if (status < program->len) {
|
||||
i = status;
|
||||
i = status - 1;
|
||||
} else {
|
||||
Ground.Log.Error("out of bounds jump in Ground.Internal.Run()");
|
||||
Ground.Flags.error = true;
|
||||
|
||||
Reference in New Issue
Block a user