Skip to content

[Bug] Persistent settings only get applied if the options call _ready() #19

@Maaack

Description

@Maaack

If someone were to put these buttons in a scene that doesn't necessarily get loaded during the game start loop, then the settings from the Config static class won't get applied.

This is probably solvable with an autoload or a default opening scene that initializes all the settings.
Here's an example method that could initialize the audio busses.
https://github.com/Maaack/Godot-Game-Template/blob/532dca539dcbe7a80af0fca1d9becc9bdf0e9a8e/addons/maaacks_game_template/base/scripts/app_settings.gd#L109

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions