Made ARE canceling more consistent.

This commit is contained in:
Ishaan Bhardwaj 2020-11-17 13:50:38 -05:00
parent e100289c82
commit 88d2f0d8d1

View File

@ -280,12 +280,11 @@ function GameMode:processDelays(inputs, ruleset, drop_speed)
elseif self.are > 0 then
self.are = self.are - 1
if ruleset.are_cancel and
self.prev_inputs["up"] and
(inputs["left"] or inputs["right"] or
inputs["rotate_left"] or inputs["rotate_left2"] or
inputs["rotate_right"] or inputs["rotate_right2"] or
inputs["rotate_180"]) then
self.are = 1
self.are = 0
end
if self.are == 0 then
self:initializeOrHold(inputs, ruleset)