mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-23 22:09:03 -06:00
Fix a logic issue in Combo Challenge
This commit is contained in:
parent
b9e96406ca
commit
affd5c6465
@ -78,11 +78,14 @@ function ComboChallenge:hold(inputs, ruleset, ihs)
|
|||||||
table.insert(self.next_queue, self:getNextPiece(ruleset))
|
table.insert(self.next_queue, self:getNextPiece(ruleset))
|
||||||
self.skips = self.skips - 1
|
self.skips = self.skips - 1
|
||||||
|
|
||||||
if ihs then playSE("ihs")
|
|
||||||
else playSE("hold") end
|
|
||||||
self:onHold()
|
self:onHold()
|
||||||
|
if ihs then
|
||||||
|
playSE("ihs")
|
||||||
|
else
|
||||||
|
playSE("hold")
|
||||||
self:onEnterOrHold(inputs, ruleset)
|
self:onEnterOrHold(inputs, ruleset)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function ComboChallenge:advanceOneFrame()
|
function ComboChallenge:advanceOneFrame()
|
||||||
if self.ready_frames == 0 then
|
if self.ready_frames == 0 then
|
||||||
|
Loading…
Reference in New Issue
Block a user