You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Game Code: Settings.gd using set_value instead of get_value #94
var bClosedCaptions = config.set_value("player", "bClosedCaptions")
var bDevConsole = config.set_value("Player", "bDevConsole")
var bVirtualKeyboard = config.set_value("Player", "bVirtualKeyboard", false)
var preferredTheme = config.set_value("Player", "preferredTheme", PlayerSettingsTemplate.ThemeChoice.LIGHTHIGHCONTRAST)
var visualKeyboardLayout = config.set_value("Player", "visualKeyboardLayout", PlayerSettingsTemplate.KeyboardLayout.QWERTY)
The documentation says that set_value() is a void returning function so it doesn't actually return anything so this doesn't actually do anything. It needs to be swapped to get_value() so it returns something. This is also how the documentation does it so I am pretty sure this is right.
Activity