diff options
| author | Beha <shacknetisp@mail.com> | 2017-03-07 14:13:26 -0500 | 
|---|---|---|
| committer | Beha <shacknetisp@mail.com> | 2017-03-07 14:13:26 -0500 | 
| commit | e69f1441c4699f979b171b22029bdc88919caf1b (patch) | |
| tree | ec85e1c10e8180da461130f410deb66964ab582d | |
| parent | f96ac5dcd9e09041060ad56d13b105440fe76212 (diff) | |
force upgrade
| -rw-r--r-- | init.lua | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -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 | 
