Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | ... | ... |
-
Please register or login to post a comment