Implement custom data save in settings and savegames (#484)

This commit is contained in:
Julian Murgia
2022-01-13 11:09:06 +01:00
committed by GitHub
parent a363b0c0c2
commit 2179b803e0
11 changed files with 61 additions and 8 deletions

View File

@@ -112,6 +112,7 @@ func _on_speech_volume_value_changed(value: float) -> void:
# Save the settings
func _on_apply_pressed():
escoria.settings.custom_settings["a_custom_setting"] = 100
escoria.save_manager.save_settings()
settings_changed = false
emit_signal("back_button_pressed")