🌓🍙 Checkpoint
./characters.js:530995/21937 ./characters.json:530995/83279 ./room.js:530995/85
This commit is contained in:
parent
93b4bbe4ed
commit
98364e07d9
11
characters.json
Normal file
11
characters.json
Normal file
File diff suppressed because one or more lines are too long
5
room.js
5
room.js
@ -1,4 +1,4 @@
|
||||
|
||||
const chars = require('./characters.json');
|
||||
const rooms = {};
|
||||
|
||||
function getOrCreateRoom(roomId) {
|
||||
@ -7,7 +7,8 @@ function getOrCreateRoom(roomId) {
|
||||
if (!room) {
|
||||
room = {
|
||||
roomId: roomId,
|
||||
participants: []
|
||||
participants: [],
|
||||
characters:
|
||||
};
|
||||
rooms[roomId] = room;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user