diff --git a/frontend/app/(page)/(needProtection)/game/component/CharacterController.tsx b/frontend/app/(page)/(needProtection)/game/component/CharacterController.tsx index 8faee97..bf482c0 100644 --- a/frontend/app/(page)/(needProtection)/game/component/CharacterController.tsx +++ b/frontend/app/(page)/(needProtection)/game/component/CharacterController.tsx @@ -80,17 +80,6 @@ const CharacterController = () => { ) }, [playerMoveState, characterIndex, position, linVelocity]) - useEffect(() => { - socket.send( - JSON.stringify({ - eventType: 'TEAM_SELECT', - data: { - team: playerTeamState, - }, - }) - ) - }, [playerTeamState]) - useEffect(() => { if (!rigidbody.current) return // 캐릭터가 이동할 때마다 좌표 받아오기