mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:29:02 -06:00
Made ARE canceling more consistent.
This commit is contained in:
parent
e100289c82
commit
88d2f0d8d1
@ -280,12 +280,11 @@ function GameMode:processDelays(inputs, ruleset, drop_speed)
|
|||||||
elseif self.are > 0 then
|
elseif self.are > 0 then
|
||||||
self.are = self.are - 1
|
self.are = self.are - 1
|
||||||
if ruleset.are_cancel and
|
if ruleset.are_cancel and
|
||||||
self.prev_inputs["up"] and
|
|
||||||
(inputs["left"] or inputs["right"] or
|
(inputs["left"] or inputs["right"] or
|
||||||
inputs["rotate_left"] or inputs["rotate_left2"] or
|
inputs["rotate_left"] or inputs["rotate_left2"] or
|
||||||
inputs["rotate_right"] or inputs["rotate_right2"] or
|
inputs["rotate_right"] or inputs["rotate_right2"] or
|
||||||
inputs["rotate_180"]) then
|
inputs["rotate_180"]) then
|
||||||
self.are = 1
|
self.are = 0
|
||||||
end
|
end
|
||||||
if self.are == 0 then
|
if self.are == 0 then
|
||||||
self:initializeOrHold(inputs, ruleset)
|
self:initializeOrHold(inputs, ruleset)
|
||||||
|
Loading…
Reference in New Issue
Block a user