Compare commits
No commits in common. "7f8c1eb291505b754b5f6bdaafbdf9f5b0ad3f51" and "d57a4c63e0a4b7f2d1f75b5a72b7ca0e73529f8a" have entirely different histories.
7f8c1eb291
...
d57a4c63e0
@ -410,10 +410,6 @@
|
||||
MapGuesser.showModalWithContent('Error', 'This game is already started, you cannot join.');
|
||||
break;
|
||||
|
||||
case 'game_not_found':
|
||||
MapGuesser.showModalWithContent('Error', 'The game room was not found by this ID. Please check the link.');
|
||||
break;
|
||||
|
||||
default:
|
||||
MapGuesser.showModalWithContent('Error', 'Error code: \'' + error + '\'');
|
||||
break
|
||||
|
@ -114,11 +114,6 @@ class GameController
|
||||
}
|
||||
|
||||
$room = $this->multiRoomRepository->getByRoomId($roomId);
|
||||
|
||||
if(!isset($room)) {
|
||||
return new JsonContent(['error' => 'game_not_found']);
|
||||
}
|
||||
|
||||
$state = $room->getStateArray();
|
||||
$map = $this->mapRepository->getById($state['mapId']);
|
||||
$token = $this->getMultiToken($roomId);
|
||||
|
Loading…
Reference in New Issue
Block a user