mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 10:20:16 +01:00
fixed udpate position functionnality
This commit is contained in:
@@ -10,7 +10,7 @@ export default function useGame() {
|
||||
const {currentPosition, enemyPosition} = useTeamContext();
|
||||
|
||||
function sendCurrentPosition() {
|
||||
teamSocket.emit("send_position", currentPosition);
|
||||
teamSocket.emit("send_position");
|
||||
}
|
||||
|
||||
return { sendCurrentPosition, login, enemyPosition, currentPosition, loggedIn, teamId };
|
||||
|
||||
Reference in New Issue
Block a user