Skip to content

Commit

Permalink
Cancelling save slot confirmation updates the UI.
Browse files Browse the repository at this point in the history
Before, cancelling the save slot confirmation dialog would keep the new
save slot selected instead of reverting back. This was confusing if you
popped the settings menu up a second time.
  • Loading branch information
Poobslag committed Aug 4, 2021
1 parent 404f96a commit 6af3115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions project/src/main/ui/menu/settings-menu.gd
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ func _on_CustomKeybindButton_awaiting_changed(awaiting: bool) -> void:


func _on_Dialogs_change_save_cancelled() -> void:
_save_slot_control.revert_save_slot()
SystemSave.save_system_data()
callv(_post_save_method, _post_save_args_array)

Expand Down

0 comments on commit 6af3115

Please sign in to comment.