Skip to content

Commit

Permalink
Merge pull request #3398 from rustykitty/issue-3088
Browse files Browse the repository at this point in the history
[BUGFIX] exclude first starclan cat from sorting
  • Loading branch information
j-gynn authored Feb 3, 2025
2 parents df28a6a + d52dacb commit 335db5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/cat/cats.py
Original file line number Diff line number Diff line change
Expand Up @@ -3486,6 +3486,10 @@ def determine_next_and_previous_cats(
if filter_func(check_cat)
]

if game.clan.instructor in sorted_specific_list:
sorted_specific_list.remove(game.clan.instructor)
sorted_specific_list.insert(0, game.clan.instructor)

idx = sorted_specific_list.index(self)

return (
Expand Down

0 comments on commit 335db5a

Please sign in to comment.