tetrio / issues

Report issues and discuss improvements / feature requests around TETR.IO
https://tetr.io
387 stars 21 forks source link

Minor bug: Duplicate piece when hold key and multiple other keys were pressed simultaneously #1307

Closed hanqinilnix closed 2 weeks ago

hanqinilnix commented 2 weeks ago

Checklist

OS and Version

Windows 11

Browser and version

Chrome Version 125.0.6422.142 (Official Build) (64-bit)

Describe the bug/issue

I-piece goes missing, while I managed to duplicate T-piece.

Reproducing

  1. Press Hold key and Hard Drop key and other keys at the same time. (I think)

Expected behavior

Expect I-piece to appear instead of duplicating T-piece.

Screenshots

https://github.com/tetrio/issues/assets/77395961/cbc94c53-2529-448d-bbfa-ddee871e3344

Console logs

No response

Additional context

No response

ZaptorZap commented 2 weeks ago

You didn't duplicate anything. If you held and hard dropped conventionally slowly, you'd be able to tell that the I piece spawned in the center four rows. In this case, you simply held before hard dropping with a very small window, and the I piece cleared a row before being visible(there are particles and the field visually shifts downwards, indicating a line clear). The T piece simply went to your hold box, as expected when you hold.