feature/MAPG-235-basic-challenge-mode #48

Merged
balazs merged 43 commits from feature/MAPG-235-basic-challenge-mode into develop 2021-05-28 20:41:09 +02:00
Showing only changes of commit 21e41b7c36 - Show all commits

View File

@ -381,7 +381,7 @@ class GameFlowController
]; ];
foreach($this->guessRepository->getAllInChallengeByRound($i, $challenge) as $guess) { foreach($this->guessRepository->getAllInChallengeByRound($i, $challenge) as $guess) {
// if($guess->getUserId() != $userId) { if($guess->getUserId() != $userId) {
$user = $this->userRepository->getByGuess($guess); $user = $this->userRepository->getByGuess($guess);
$response['history'][$i]['allResults'][] = [ $response['history'][$i]['allResults'][] = [
@ -390,7 +390,7 @@ class GameFlowController
'distance' => $guess->getDistance(), 'distance' => $guess->getDistance(),
'score' => $guess->getScore() 'score' => $guess->getScore()
]; ];
// } }
} }
} }