Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
강동현
2021-05-26 22:39:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7c128efcc19ca822f627b0e35e9ca8a709829ca3
7c128efc
1 parent
54fd6c8d
룸의 key값이 이름으로 저장되는 이슈 해결
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server/room/RoomManager.ts
server/room/RoomManager.ts
View file @
7c128ef
...
...
@@ -17,7 +17,7 @@ export class RoomManager {
public
create
(
name
:
string
,
maxConnections
:
number
):
Room
{
const
room
=
new
Room
(
name
,
maxConnections
);
this
.
rooms
.
set
(
name
,
room
);
this
.
rooms
.
set
(
room
.
uuid
,
room
);
return
room
;
}
...
...
Please
register
or
login
to post a comment