From 2f11935b9754455afa0ca6a19a5651ef25d1b11f Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 21 Oct 2019 00:21:07 +0200 Subject: [PATCH] fixed bug in analyze_file --- analyze_file.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analyze_file.lua b/analyze_file.lua index 5e4d3b4..f3c81f4 100644 --- a/analyze_file.lua +++ b/analyze_file.lua @@ -235,9 +235,9 @@ handle_schematics.analyze_file = function( file_name, origin_offset, store_as_mt -- some node names need to be replaced right here after reading the file -- because further replacement functions rely on consistant node names - for i, name in ipairs(nodenames) do + for i, name in ipairs(res.nodenames) do if( replacements_group["after_read_file"][ name ]) then - nodenames[ i ] = replacements_group["after_read_file"][ name ] + res.nodenames[ i ] = replacements_group["after_read_file"][ name ] end end