Skip to content

Reclaiminfo widget breaks if click+drag circle is started from outside the map area #7958

Description

@AntlerForce

Description

infolog.txt

Expected Behaviour

This should work.

Actual Behaviour

[t=00:03:49.689946][f=0003915] Error in DrawScreen(): [string "LuaUI/Widgets/gui_reclaiminfo.lua"]:150: attempt to index upvalue 'rangestart' (a nil value)

Reproduction steps

Start click+drag reclaim circle from outside the map area, upon release gui_reclaiminfo.lua will break.

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions