Skip to content

Commit

Permalink
console.lua: exit when left clicking outside of selectable items
Browse files Browse the repository at this point in the history
  • Loading branch information
guidocella authored and kasper93 committed Oct 21, 2024
1 parent 1edc021 commit 0dc2e85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions player/lua/console.lua
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,8 @@ local function bind_mouse()
if item then
selected_match = item
handle_enter()
else
set_active(false)
end
end)
end
Expand Down

0 comments on commit 0dc2e85

Please sign in to comment.