MAP-235 fixed overlapping markers of history and user's guesses
This commit is contained in:
parent
69964acfb2
commit
21e41b7c36
@ -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()
|
||||||
];
|
];
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user