Skip to content

Commit

Permalink
Fix #50: 팀 이미 보내고 있다고 해서 없앰
Browse files Browse the repository at this point in the history
  • Loading branch information
Chosamee committed May 14, 2024
1 parent a2cd777 commit 98ca5d6
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
// 캐릭터가 이동할 때마다 좌표 받아오기
Expand Down

0 comments on commit 98ca5d6

Please sign in to comment.