softDrop
This commit is contained in:
parent
0d5bbc77b6
commit
fb34ef72dc
3
app.js
3
app.js
@ -733,7 +733,8 @@ function onkeydown(event) {
|
|||||||
actionsQueue.unshift(action)
|
actionsQueue.unshift(action)
|
||||||
scheduler.clearTimeout(repeat)
|
scheduler.clearTimeout(repeat)
|
||||||
scheduler.clearInterval(autorepeat)
|
scheduler.clearInterval(autorepeat)
|
||||||
scheduler.setTimeout(repeat, settings.das)
|
if (action == playerActions.softDrop) scheduler.setInterval(autorepeat, settings.fallPeriod/20)
|
||||||
|
else scheduler.setTimeout(repeat, settings.das)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user