From 01aea6f5014383f214924344a741a1f8229f0f11 Mon Sep 17 00:00:00 2001 From: Todd Hertzelle <6549835+thertzelle@users.noreply.github.com> Date: Mon, 20 May 2019 14:16:24 -0500 Subject: [PATCH] Press I to inventory Item, after you bought it and after you've placed it. Tested. (#148) --- TSOClient/tso.client/UI/Panels/UIObjectHolder.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TSOClient/tso.client/UI/Panels/UIObjectHolder.cs b/TSOClient/tso.client/UI/Panels/UIObjectHolder.cs index c0e412430..5859ec49c 100644 --- a/TSOClient/tso.client/UI/Panels/UIObjectHolder.cs +++ b/TSOClient/tso.client/UI/Panels/UIObjectHolder.cs @@ -436,6 +436,12 @@ public void Update(UpdateState state, bool scrolled) { OnDelete(Holding, null); ClearSelected(); + } else if (state.KeyboardState.IsKeyDown(Keys.I)) + { + if (state.InputManager.GetFocus() == null) + { + MoveToInventory(null); + } } } if (Holding != null && Roommate)