diff options
author | beyondlimits <beyondlimits@10g.pl> | 2018-07-18 21:49:34 +0200 |
---|---|---|
committer | Vitaliy <silverunicorn2011@yandex.ru> | 2018-07-18 22:49:34 +0300 |
commit | 12fb09f452364da6c2986db5b35190c61d0b1d64 (patch) | |
tree | 3ad362056ca9fb55ecaa3d800575f755e4472572 | |
parent | ff73d0e60f90fdb6f7a81fd1ac1c806ba7207c46 (diff) |
Fix crash when error()ing an invalid value on programming (#418)
-rw-r--r-- | mesecons_luacontroller/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua index 325e16f..59c2442 100644 --- a/mesecons_luacontroller/init.lua +++ b/mesecons_luacontroller/init.lua @@ -718,7 +718,7 @@ local function on_receive_fields(pos, form_name, fields, sender) local ok, err = set_program(pos, fields.code) if not ok then -- it's not an error from the server perspective - minetest.log("action", "Lua controller programming error: " .. err) + minetest.log("action", "Lua controller programming error: " .. tostring(err)) end end |