diff --git a/signs_lib/depends.txt b/signs_lib/depends.txt index c0dd3b07..abb8bd5c 100644 --- a/signs_lib/depends.txt +++ b/signs_lib/depends.txt @@ -1,3 +1,4 @@ default intllib? screwdriver? +keyword_interact? diff --git a/signs_lib/init.lua b/signs_lib/init.lua index ee00b7d0..acf88076 100644 --- a/signs_lib/init.lua +++ b/signs_lib/init.lua @@ -536,6 +536,7 @@ signs_lib.update_sign = function(pos, fields, owner) local meta = minetest.get_meta(pos) local stored_text = meta:get_string("text") or "" + current_keyword = mki_interact_keyword or current_keyword if fields then -- ...we're editing the sign. if fields.text and string.find(dump(fields.text), "@KEYWORD") then