forked from luanti-org/minetest_game
		
	Fixed invalid check. This fixes minetest/minetest_game#609
This commit is contained in:
		
				
					committed by
					
						 Novatux
						Novatux
					
				
			
			
				
	
			
			
			
						parent
						
							be4dd6479d
						
					
				
				
					commit
					35de5241f4
				
			| @@ -129,7 +129,7 @@ function doors.register_door(name, def) | ||||
|  | ||||
| 	local function on_rightclick(pos, dir, check_name, replace, replace_dir, params) | ||||
| 		pos.y = pos.y+dir | ||||
| 		if not minetest.get_node(pos).name == check_name then | ||||
| 		if minetest.get_node(pos).name ~= check_name then | ||||
| 			return | ||||
| 		end | ||||
| 		local p2 = minetest.get_node(pos).param2 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user