Skip to content

Always and Trial hint types break if order is 0 #2488

@aofengen

Description

@aofengen
Image

This screenshot is the resulting error if a hint distribution has an order of 0 for the trial hint type. The same error occurs if the always hint type is set to an order of 0. Having an order of 0 causes a hint type to not be a part of the hint_dist dictionary, which causes a break in lines 1497 and 1542 of Hints.py. To my knowledge no other hint types function this way, where the hint types are hardcoded to always be expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Hintsrelated to how we help the playerStatus: Under ConsiderationDevelopers are considering whether to accept or decline the feature describedType: EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions