MAPG-235 guesses of other players in the round are sent after guess

This commit is contained in:
balazs committed 2021-05-13 13:06:24 +02:00
1 parent 93f8fc3f34
commit e7869d67f7
7 files changed
+61 -14

No files matched your search

+1 -4
View File
@@ -22,10 +22,7 @@ class MapRepository
public function getByPlace(Place $place): ?Map
{
$select = new Select(\Container::$dbConnection);
$select->where('id', '=', $place->getMapId());
return $this->pdm->selectFromDb($select, Map::class);
return $this->getById($place->getMapId());
}
public function getByChallenge(Challenge $challenge): ?Map