Made ARE canceling less slippery (again)

pull/13/head
Ishaan Bhardwaj 2020-11-19 22:22:43 -05:00
parent 351fb4cfe9
commit 44423fd2e8
1 changed files with 4 additions and 0 deletions

View File

@ -280,6 +280,10 @@ function GameMode:processDelays(inputs, ruleset, drop_speed)
elseif self.are > 0 then
self.are = self.are - 1
if ruleset.are_cancel and
(self.move == "none" and
not self.prev_inputs["rotate_left"] and not self.prev_inputs["rotate_left2"] and
not self.prev_inputs["rotate_right"] and not self.prev_inputs["rotate_right2"] and
not self.prev_inputs["rotate_180"]) and
(inputs["left"] or inputs["right"] or
inputs["rotate_left"] or inputs["rotate_left2"] or
inputs["rotate_right"] or inputs["rotate_right2"] or