Fix DATA
This commit is contained in:
1 parent
a6866778f1
commit
bcf3a6214a
3 files changed
+40
-22
No files matched your search
+2
-2
@@ -28,9 +28,9 @@ struct Data
|
||||
int index;
|
||||
void read(out Value value, VM vm)
|
||||
{
|
||||
if(index >= table.data.length)
|
||||
if(index >= table.length)
|
||||
throw new OutOfDATA();
|
||||
value = table.data[index];
|
||||
value = table.read(index);
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user