speed up pieces coming back from hints
This commit is contained in:
		
							parent
							
								
									80198db393
								
							
						
					
					
						commit
						23d75ab576
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -452,7 +452,7 @@ func discard_hints() -> void:
 | 
			
		|||
		for r in range(rows):
 | 
			
		||||
			var piece: Piece = pieces[c][r]
 | 
			
		||||
			if piece.taquin_current_index != piece.taquin_original_index:
 | 
			
		||||
				hint_tween.interpolate_property(piece, "position", piece.position, piece.taquin_current_position, 1.0)
 | 
			
		||||
				hint_tween.interpolate_property(piece, "position", piece.position, piece.taquin_current_position, 0.2)
 | 
			
		||||
	hint_tween.start()
 | 
			
		||||
	_hint_active = false
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue