From 8808306a5f6165a210849df977784e3fe2e6eedd Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Wed, 16 Sep 2020 00:05:53 -0400 Subject: [PATCH] [contrib/enfusedAdvanced.lua] _ was declared globally in a subroutine, thus negating translation once the subroutine was called. --- contrib/enfuseAdvanced.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/enfuseAdvanced.lua b/contrib/enfuseAdvanced.lua index bf6ef3e..a40be53 100644 --- a/contrib/enfuseAdvanced.lua +++ b/contrib/enfuseAdvanced.lua @@ -311,7 +311,7 @@ local function UpdateENFargs(image_table, prefix) --updates the Enfuse arguments local largest_id = 0 local first_raw = {} for raw, temp_image in pairs(image_table) do - _, source_name, source_id = GetFileName(raw.filename) + local _, source_name, source_id = GetFileName(raw.filename) source_id = tonumber(source_id) if source_id < smallest_id then smallest_id = source_id