강동현

룸의 key값이 이름으로 저장되는 이슈 해결

...@@ -17,7 +17,7 @@ export class RoomManager { ...@@ -17,7 +17,7 @@ export class RoomManager {
17 17
18 public create(name: string, maxConnections: number): Room { 18 public create(name: string, maxConnections: number): Room {
19 const room = new Room(name, maxConnections); 19 const room = new Room(name, maxConnections);
20 - this.rooms.set(name, room); 20 + this.rooms.set(room.uuid, room);
21 return room; 21 return room;
22 } 22 }
23 23
......