Skip to content

Commit

Permalink
Remove comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmariNoa committed Oct 7, 2024
1 parent 0eb6836 commit e55e457
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions database/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,6 @@ func (s *Mysql) SyncPlayer(newPlayer *Players, opts *UpdateOption) error {
player.CurrentServer = newPlayer.CurrentServer
}

/*
quit := false
if opts != nil {
was := player.CurrentServer
if opts.IsQuit {
if was == newPlayer.CurrentServer {
newPlayer.CurrentServer = ""
quit = true
} else {
return false, nil
}
} else {
player.CurrentServer = newPlayer.CurrentServer
}
}
*/

r := s.client.Clauses(clause.OnConflict{
Columns: []clause.Column{{Name: "uuid"}},
UpdateAll: true,
Expand Down

0 comments on commit e55e457

Please sign in to comment.