Filter anormal positions and add position with scan

This commit is contained in:
Sebastien Riviere
2026-03-13 00:59:56 +01:00
parent 296220d9f9
commit 471e514981
7 changed files with 1944 additions and 25741 deletions

View File

@@ -116,8 +116,9 @@ export function initTeamSocket() {
}
});
socket.on("send_position", () => {
socket.on("send_position", (position) => {
if (!teamId) return;
game.updateLocation(teamId, position);
game.sendLocation(teamId);
});