Skip to content

Commit

Permalink
fix for queue reset
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfwithSword committed Jan 9, 2025
1 parent f773e8b commit 5792792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chatdnd/session_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ def start_session(self, party_size: int = 4) -> bool:
return False
self.session.state = SessionState.STARTED
self.session.party.clear()
self.session.queue.clear()
self.session.party.update(random.sample(sorted(self.session.queue), party_size))
self.session.queue.clear()
return True

def end(self):
Expand Down

0 comments on commit 5792792

Please sign in to comment.