This commit is contained in:
2024-08-08 21:09:40 +02:00
parent 463843bf8b
commit 815779129a
3 changed files with 6 additions and 6 deletions

View File

@@ -90,8 +90,8 @@
}
function send(x,y,angle){
x = Math.round((x + 100) * 163.84);
y = Math.round((y + 100) * 163.84);
x = Math.round((x + 200) * 81.92);
y = Math.round((y + 200) * 81.92);
var data = clientId + ";d;" + x.toString() + "," + y.toString();
connection.send(data);
}