mirror of
				https://github.com/minetest-mods/mesecons.git
				synced 2025-10-31 11:25:22 +01:00 
			
		
		
		
	Fix movestones sometimes not starting to move again when they are at the
end of the wire
This commit is contained in:
		| @@ -63,7 +63,10 @@ function mesecon.register_movestone(name, def, is_sticky) | ||||
| 		end | ||||
|  | ||||
| 		local direction = mesecon.get_movestone_direction(pos) | ||||
| 		if not direction then return end | ||||
| 		if not direction then | ||||
| 			minetest.set_node(pos, {name = name}) | ||||
| 			return | ||||
| 		end | ||||
| 		local frontpos = vector.add(pos, direction) | ||||
| 		local backpos = vector.subtract(pos, direction) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user