change color generation
This commit is contained in:
parent
3b7756924f
commit
c59fcfa2b8
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ export default (io: Server, socket: Socket) => {
|
||||||
username: SocketMap.read(socket.id).username,
|
username: SocketMap.read(socket.id).username,
|
||||||
firstname: SocketMap.read(socket.id).firstname,
|
firstname: SocketMap.read(socket.id).firstname,
|
||||||
lastname: SocketMap.read(socket.id).lastname,
|
lastname: SocketMap.read(socket.id).lastname,
|
||||||
color: randomColor({ format: "hex" }),
|
color: randomColor({ format: "hex", luminosity: "dark" }),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
MissionMap.updateAwareness(missionId, {
|
MissionMap.updateAwareness(missionId, {
|
||||||
|
|
Loading…
Add table
Reference in a new issue