Skip to content

Commit

Permalink
Remove pending login upon successful login
Browse files Browse the repository at this point in the history
  • Loading branch information
sorokya committed Sep 11, 2024
1 parent 46525e2 commit e8f19d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/world/world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ impl World {
}

Command::AddLoggedInAccount { account_id } => {
self.pending_logins.retain(|id| *id != account_id);
self.accounts.push(account_id);
}

Expand Down

0 comments on commit e8f19d0

Please sign in to comment.