Skip to content

Commit

Permalink
Press I to inventory Item, after you bought it and after you've place…
Browse files Browse the repository at this point in the history
…d it. Tested. (#148)
  • Loading branch information
thertzelle authored and riperiperi committed May 20, 2019
1 parent ae84752 commit 01aea6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TSOClient/tso.client/UI/Panels/UIObjectHolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 01aea6f

Please sign in to comment.