fix bugs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user