Fix a couple things

This commit is contained in:
2026-06-16 20:08:21 +10:00
parent 02b5a9cc54
commit 6d35acbe60
6 changed files with 143 additions and 48 deletions

View File

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