mirror of
				https://github.com/minetest-mods/mesecons.git
				synced 2025-10-30 19:05:33 +01:00 
			
		
		
		
	Replace mesecon:<some_function> with mesecon.<some_function> for greater
flexibility and because it was never inteded to be OOP in the first place. mesecon.receptor_on and mesecon.receptor_off are provided by wrappers (mesecon:receptor_on/off) for compatibility, but will be removed. Mod programmers that use mesecons: Please update! Also, fix microcontroller polluting the global namespace and remove some deprecated stuff.
This commit is contained in:
		| @@ -2,7 +2,7 @@ function insulated_wire_get_rules(node) | ||||
| 	local rules = 	{{x = 1,  y = 0,  z = 0}, | ||||
| 			 {x =-1,  y = 0,  z = 0}} | ||||
| 	if node.param2 == 1 or node.param2 == 3 then | ||||
| 		return mesecon:rotate_rules_right(rules) | ||||
| 		return mesecon.rotate_rules_right(rules) | ||||
| 	end | ||||
| 	return rules | ||||
| end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user