mirror of
				https://github.com/luanti-org/minetest_game.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Merge pull request #18 from darkrose/master
stop using hacks for sign input
This commit is contained in:
		@@ -1144,7 +1144,7 @@ minetest.register_node("default:sign_wall", {
 | 
			
		||||
	on_construct = function(pos)
 | 
			
		||||
		--local n = minetest.env:get_node(pos)
 | 
			
		||||
		local meta = minetest.env:get_meta(pos)
 | 
			
		||||
		meta:set_string("formspec", "hack:sign_text_input")
 | 
			
		||||
		meta:set_string("formspec", "field[text;;${text}]")
 | 
			
		||||
		meta:set_string("infotext", "\"\"")
 | 
			
		||||
	end,
 | 
			
		||||
	on_receive_fields = function(pos, formname, fields, sender)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user