Skip to content

Unreachable branch in attacker_h eventset #1212

Description

@Not-A-Normal-Robot

https://github.com/26F-Studio/Techmino/blob/main/parts/eventsets/attacker_h.lua

--snip--
if D.wave==50 then -- line 14
    P:win('finish')
else
    -- Here, D.wave can never be 50
    --snip--
    if D.wave==20 then
        --snip--
    elseif D.wave==50 then --! Unreachable branch on line 32: This will never be true
        P:_showText(text.maxspeed,0,-140,100,'appear',.6)
    end
end
--snip--

Shouldn't be too hard to fix but I'm kinda in the middle of something atm.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internalIssue regarding the internal code of the game

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions