Skip to content

Commit 2a5c6cb

Browse files
authored
do not trigger hotbar actions while in focus (#2770)
1 parent ebb7401 commit 2a5c6cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Intersect.Client.Core/Entities/Player.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,6 +1591,11 @@ private void HandleInput()
15911591
return;
15921592
}
15931593

1594+
if (Interface.Interface.HasInputFocus())
1595+
{
1596+
return;
1597+
}
1598+
15941599
var inputDirection = GetInputDirection();
15951600
if (TryTurnAround(inputDirection))
15961601
{

0 commit comments

Comments
 (0)