respond to keyword_interact live keyword change

This commit is contained in:
Vanessa Ezekowitz 2015-06-26 05:55:52 -04:00
parent a79c752c40
commit c19841064b
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
default
intllib?
screwdriver?
keyword_interact?

View File

@ -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