Add mode to seed completion
This commit is contained in:
1 parent
2e964b007d
commit
5214c4aff4
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -278,7 +278,7 @@ func (s *Server) HandleSavedataClear(w http.ResponseWriter, r *http.Request) {
|
||||
newCompletion := false
|
||||
|
||||
if sessionCompleted {
|
||||
newCompletion, err = db.TryAddSeedCompletion(uuid, session.Seed)
|
||||
newCompletion, err = db.TryAddSeedCompletion(uuid, session.Seed, int(session.GameMode))
|
||||
if err != nil {
|
||||
log.Print("failed to mark seed as completed")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user