0
0
Fork 0

Make the action property actually consistent across event emits

This commit is contained in:
Oliver-Akins 2021-01-01 20:35:50 -07:00
parent d241f341be
commit e2e62859b7

View file

@ -217,7 +217,7 @@ const modifyPlayer = (io: Server, socket: Socket, data: UpdatePlayer): void => {
io.to(game.id).emit(`PlayerUpdate`, {
status: 200,
mode: `modify`,
action: `modify`,
name: data.name,
role: data.to.role,
team: data.to.team,