From 995ca9d486a024931bdbe884b7e2fc892848e0ce Mon Sep 17 00:00:00 2001 From: cynagen <43963132+cynagen@users.noreply.github.com> Date: Mon, 18 May 2020 01:14:28 -0700 Subject: [PATCH] Update exportTask.lua Last fix, was making a call to Util when it wasn't defined, and left the export function completely dead. Defined correctly, now exporting as expected, whoops. --- milo/plugins/exportTask.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/milo/plugins/exportTask.lua b/milo/plugins/exportTask.lua index 9be86b1..ec7f82d 100644 --- a/milo/plugins/exportTask.lua +++ b/milo/plugins/exportTask.lua @@ -1,6 +1,7 @@ local itemDB = require('core.itemDB') local Milo = require('milo') -local Tasks = require('milo.taskRunner') +local Tasks = require('milo.taskRunner') +local Util = require('opus.util') local ExportTask = { name = 'exporter', @@ -19,7 +20,6 @@ function ExportTask:cycle(context) for node in context.storage:filterActive('machine', filter) do tasks:add(function() for _, entry in pairs(node.exports) do - if not entry.filter then -- exports must have a filter -- TODO: validate in exportView