Skip to content

Commit

Permalink
quickfix to disable controller support
Browse files Browse the repository at this point in the history
  • Loading branch information
Blumlaut authored Mar 19, 2020
1 parent 0cb8200 commit 7c11e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui_c.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Citizen.CreateThread(function()
if _menuPool then
_menuPool:ProcessMenus()
end
if IsControlJustReleased(0, settings.button) and isAdmin == true then --M by default
if (IsControlJustReleased(0, settings.button) and GetLastInputMethod( 0 ) ) and isAdmin == true then --M by default
-- clear and re-create incase of permission change+player count change

if strings then
Expand Down

0 comments on commit 7c11e00

Please sign in to comment.