Skip to content

Missing check for valid numbers in map editor #22

@ahmadbky

Description

@ahmadbky

There are some checks that are missing in the map editor related to the Weapon and Stamina gain and amount.
When an invalid text is provided, the returned value is -1, which makes no sense.

image

There should be a check to put the old value if the parsing returned -1, and avoid negative numbers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions