Skip to content

Commit 493f33d

Browse files
Tiny simplification of the event system check stuff--just changed it to check if something is currently selected instead
1 parent be4251b commit 493f33d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void FixedUpdate()
162162

163163
m_ActionRequestCount = 0;
164164

165-
if (EventSystem.current.IsPointerOverGameObject() || EventSystem.current.currentSelectedGameObject != null)
165+
if (EventSystem.current.currentSelectedGameObject != null)
166166
{
167167
return;
168168
}

0 commit comments

Comments
 (0)