Skip to content

Commit

Permalink
feat: Reverse save games order - issue 211 (#565)
Browse files Browse the repository at this point in the history
Co-authored-by: Balloonpopper <[email protected]>
  • Loading branch information
balloonpopper and Balloonpopper authored Apr 7, 2022
1 parent 6078085 commit 06d37b0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,7 @@ func refresh_savegames():
$VBoxContainer/ScrollContainer/slots.add_child(
new_slot
)
# Move newest save to the top of the list
$VBoxContainer/ScrollContainer/slots.move_child(new_slot, 0)
new_slot.set_slot_name_date(saves_list[save_key]["name"], saves_list[save_key]["date"])
new_slot.connect("pressed", self, "_on_slot_pressed", [save_key])

0 comments on commit 06d37b0

Please sign in to comment.