Commit 7659a531 authored by Yannick Armand's avatar Yannick Armand

Correction de la compilation

parent 7191bb15
......@@ -76,14 +76,14 @@ export default class Game extends BaseGame {
})
client.broadcast(PlayerEvent.Joined, {
x: player.getPosition().getX(),
y: player.getPosition().getY(),
color: player.getColor(),
x: clientPlayer.getPosition().getX(),
y: clientPlayer.getPosition().getY(),
color: clientPlayer.getColor(),
uuid: client.uuid,
yours: false,
})
this.addPlayer(player)
this.addPlayer(clientPlayer)
})
client.on('change-pos', (data: any) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment