Skip to content

Items: Validate that Item.minValue is never higher than Item.maxValue #92

@Hamunii

Description

@Hamunii

If Item.minValue is greater than Item.maxValue in System.Random.Next, it will throw.

This breaks some things in the game, like Terminal.PostProcess when scanning for items, and the item is scrap and outside of the ship.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions