forked from mtcontrib/homedecor_modpack
respond to keyword_interact live keyword change
This commit is contained in:
parent
a79c752c40
commit
c19841064b
|
@ -1,3 +1,4 @@
|
|||
default
|
||||
intllib?
|
||||
screwdriver?
|
||||
keyword_interact?
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user