mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 05:45:32 +01:00 
			
		
		
		
	respond to keyword_interact live keyword change
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user