This commit is contained in:
Aldin Duraki 2020-05-13 20:22:48 +02:00
parent ce4d2fe8a2
commit 917769ac24

View File

@ -175,7 +175,7 @@ class MatchmakingHelper: NSObject, GKMatchmakerViewControllerDelegate, GKMatchDe
self.isServer = true
self.spieler1 = player
self.nameSpieler1 = self.spieler1!.displayName
DataService.sharedInstance.setGameHost(host: Host(playerName: player!.gamePlayerID))
DataService.sharedInstance.setGameHost(host: Host(playerID: player!.gamePlayerID))
} else {
self.isServer = false
}