Skip to content

Commit dc4fd0b

Browse files
committed
🔀 dev merge
1 parent 2f689e3 commit dc4fd0b

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

backend/src/main/java/io/f1/backend/domain/game/app/RoomService.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -199,22 +199,6 @@ public void exitRoom(Long roomId, String sessionId, UserPrincipal principal) {
199199
}
200200
}
201201

202-
public void handlePlayerReady(Long roomId, String sessionId) {
203-
Player player =
204-
roomRepository
205-
.findPlayerInRoomBySessionId(roomId, sessionId)
206-
.orElseThrow(() -> new CustomException(RoomErrorCode.PLAYER_NOT_FOUND));
207-
208-
player.toggleReady();
209-
210-
Room room = findRoom(roomId);
211-
212-
String destination = getDestination(roomId);
213-
214-
messageSender.sendBroadcast(
215-
destination, MessageType.PLAYER_LIST, toPlayerListResponse(room));
216-
}
217-
218202
public RoomListResponse getAllRooms() {
219203
List<Room> rooms = roomRepository.findAll();
220204
List<RoomResponse> roomResponses =

0 commit comments

Comments
 (0)