speed up pieces coming back from hints

master
Fabien Freling 2020-05-25 17:58:27 +02:00
parent 80198db393
commit 23d75ab576
1 changed files with 1 additions and 1 deletions

View File

@ -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