Update Tetromino.gd

This commit is contained in:
adrienmalin 2019-01-16 23:16:25 +01:00
parent 6e9f5659ae
commit 1cec50f4f6

View File

@ -117,9 +117,9 @@ func rotate(direction):
set_translations(rotated_translations) set_translations(rotated_translations)
translate(movements[i]) translate(movements[i])
lock_delay.start() lock_delay.start()
rotated_last = true
if i == 4: if i == 4:
rotation_point_5_used = true rotation_point_5_used = true
rotated_last = true
return true return true
return false return false