Skip to content

Commit

Permalink
Core server: PR#72
Browse files Browse the repository at this point in the history
  • Loading branch information
Berygna committed Jun 22, 2024
1 parent 1fcac23 commit 0647dd4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ public void handleWebSocketDisconnectListener(SessionDisconnectEvent event) {
//TODO 참가중인 모든 플레이어에게 방 삭제 메시지 발행
} else {
session.removePlayer(playerId);
sendUpdateToPlayers(session, "session");
sendSessions();
}

// 퇴장 메시지 발행
Expand Down

0 comments on commit 0647dd4

Please sign in to comment.