We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3cb0593 + 404c147 commit 0ed3190Copy full SHA for 0ed3190
1 file changed
src/playground/blocks/block_analysis.js
@@ -1233,10 +1233,9 @@ module.exports = {
1233
const returnCol = DataTable.getColumnIndex(script.getValue('RETURN', script));
1234
const value = script.getValue('VALUE', script);
1235
const table = DataTable.getSource(tableId, sprite);
1236
- const { origin } = table;
1237
1238
let foundIndex;
1239
- for (let i = 0; i < origin.length; i++) {
+ for (let i = 0; i < table?.table?.length || 0; i++) {
1240
if (table.getValue([i, col]) == value) {
1241
foundIndex = i;
1242
break;
0 commit comments