From a54f5baed647e416f9d3c3caa8392c6a49f66b19 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sun, 11 Nov 2018 01:40:22 -0700 Subject: [PATCH] fix the need-to-make-changes test --- volcanoes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volcanoes.lua b/volcanoes.lua index 1bae375..bc883a1 100644 --- a/volcanoes.lua +++ b/volcanoes.lua @@ -131,7 +131,7 @@ local patch_func = function(patch_area, patch_content) for vi in patch_area:iterp(minp, maxp) do local mi = map_iterator() - if patch_data[mi] == c_air and patch_content[vi] ~= nil then + if patch_content[vi] ~= nil and patch_data[mi] ~= patch_content[vi] then patch_data[mi] = patch_content[vi] changes_made = true end