This commit is contained in:
+1
-2
@@ -50,8 +50,7 @@ export class GameSocket {
|
|||||||
this.socket.send(
|
this.socket.send(
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
type: "input",
|
type: "input",
|
||||||
dx,
|
payload: { dx, dy },
|
||||||
dy,
|
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user