From e69f1441c4699f979b171b22029bdc88919caf1b Mon Sep 17 00:00:00 2001 From: Beha Date: Tue, 7 Mar 2017 14:13:26 -0500 Subject: force upgrade --- init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 1a6b0b4..080add3 100644 --- a/init.lua +++ b/init.lua @@ -111,6 +111,9 @@ local function build_motor(hash) .."dropdown[0,0;3;target;"..table.concat(tpnames, ",")..";1]" .."button_exit[0,1;3,1;go;Go]") meta:set_int("version", VERSION) + if meta:get_string("formspec") ~= "" then + meta:set_string("formspec", "") + end if meta:get_string("motor") ~= hash then build_motor(meta:get_string("motor")) end -- cgit v1.2.3