diff options
Diffstat (limited to 'server.js')
-rwxr-xr-x | server.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -135,7 +135,7 @@ io.on("connection", (conn) => { if (!gameobj) return; for (const p of gameobj.pl) { if (p != conn) { - p.emit("ballvec", x, y, vx, vy); + p.emit("ballvec", 1 - x, y, -vx, vy); } } }); |