Skip to content

Commit 805dc6a

Browse files
committed
store in-game UI in a local variable
not sure how the original thing even got committed?
1 parent b45ecb9 commit 805dc6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Intersect.Client.Core/Core/Input.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ public static void OnKeyPressed(Keys modifier, Keys key)
124124
return;
125125
}
126126

127+
var gameUi = Interface.Interface.GameUi;
128+
127129
// First try and unfocus chat then close all UI elements, then untarget our target.. and THEN open the escape menu.
128130
// Most games do this, why not this?
129131
if (gameUi.ChatFocussed)

0 commit comments

Comments
 (0)