26F-Studio / Techmino

Techmino:方块研究所唯一官方仓库(Github)
https://www.studio26f.org
GNU Lesser General Public License v3.0
548 stars 68 forks source link

Many bugs when active both ruleset and initial map in custom game #531

Open Not-A-Normal-Robot opened 2 years ago

Not-A-Normal-Robot commented 2 years ago

Screenshot with unintended behaviors (Image(s) Here): image

If you can reproduce it, write the steps here. If you can't, try to describe the exactly time the game crash, like pressing which key or which button (Details Here):

  1. Import this custom game setting: Techmino Quest:1OZbag!g!!eJwTEgICRiEYoBsLAM8vB6U=!
  2. Set ruleset to dig_10l
  3. Clear all the bone blocks
  4. -2 lines remaining

Solution [pseudocode]:

if linesRemaining <= 0 then
    set linesRemaining to 0
    call win function
end
MrZ626 commented 2 years ago

actually many custom rulesets have conflicts with initial sequence/field things, this will be impossible after "More Powerful Custom Update"