diff options
Diffstat (limited to 'mesecons_luacontroller')
-rw-r--r-- | mesecons_luacontroller/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua index 669bacb..da38c7f 100644 --- a/mesecons_luacontroller/init.lua +++ b/mesecons_luacontroller/init.lua @@ -938,6 +938,7 @@ local function on_receive_fields(pos, form_name, fields, sender) update_formspec(pos) else local tab = meta:get_int("tab") + if tab < 1 or tab > 2 then tab = 1 end if tab == 1 then --Code tab if not fields.program then |