Skip to content

Commit

Permalink
Merge pull request #9 from AmariNoa/amari
Browse files Browse the repository at this point in the history
不要なコメントを削除したはず
  • Loading branch information
Laica-Lunasys authored Oct 7, 2024
2 parents daf5750 + e55e457 commit 0888c59
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 0888c59

Please sign in to comment.