diff GeoQuiz/Logic/GameProtocol+Extension.swift @ 20:e281791e0494

finish implementation
author Dennis C. M. <dennis@denniscm.com>
date Sun, 23 Oct 2022 11:48:39 +0100
parents f140bb277c96
children
line wrap: on
line diff
--- a/GeoQuiz/Logic/GameProtocol+Extension.swift	Sun Oct 23 00:11:38 2022 +0100
+++ b/GeoQuiz/Logic/GameProtocol+Extension.swift	Sun Oct 23 11:48:39 2022 +0100
@@ -110,7 +110,6 @@
     func save(_ gameType: GameType, with moc: NSManagedObjectContext) {
         let playedGame = PlayedGame(context: moc)
 
-        playedGame.id = UUID()
         playedGame.type = gameType
         playedGame.date = Date()
         playedGame.score = Int32(userScore)