minor refactoring

This commit is contained in:
127-Z3R0 2020-06-02 22:18:59 +02:00
parent 09062d5f5d
commit cbf288e86d
2 changed files with 30 additions and 29 deletions

View File

@ -158,6 +158,7 @@ class RoundCalculatorService {
winner = determineWinner(by: "capture")
}
winner == GameCenterManager.sharedInstance.hostingPlayer?.displayName ? GameCenterManager.sharedInstance.sendStateToPeers(state: State(state: 4)) : GameCenterManager.sharedInstance.sendStateToPeers(state: State(state: 5))
//TODO: Trigger Winner/Loser-Scene for Server
return
}
currentRound += 1