Skip to content

Commit 1e367a9

Browse files
Fixed some weird formatting leftover from testing
1 parent a816709 commit 1e367a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Assets/BossRoom/Scripts/Client/Game/Character/ClientInputSender.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,12 @@ void FixedUpdate()
174174
{
175175
m_LastSentMove = Time.time;
176176
var ray = m_MainCamera.ScreenPointToRay(Input.mousePosition);
177+
if (Physics.RaycastNonAlloc(ray, k_CachedHit, k_MouseInputRaycastDistance, k_GroundLayerMask) > 0)
177178
{
178-
if (Physics.RaycastNonAlloc(ray, k_CachedHit, k_MouseInputRaycastDistance, k_GroundLayerMask) > 0)
179-
{
180179
m_NetworkCharacter.SendCharacterInputServerRpc(k_CachedHit[0].point);
181180

182181
//Send our client only click request
183182
ClientMoveEvent?.Invoke(k_CachedHit[0].point);
184-
}
185183
}
186184
}
187185
}

0 commit comments

Comments
 (0)