Skip to content

Setting mute to false on Sound that was never muted causes its volume to be zero. #1870

@brianbunch

Description

@brianbunch

Setting the mute property to false on a Sound that was never muted causes the volume to be overwritten by _muteVolume, which is zero when the sound has never been muted before.
Maybe add a check at the beginning of the mute setter, which sees if the new value of mute is different from the old one.

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