Merge pull request #5 from Bonyoze/master

Fix incorrect hook name when removing
This commit is contained in:
StyledStrike 2023-12-23 08:54:05 -03:00 committed by GitHub
commit d4ad16ed65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,7 +153,7 @@ function MKeyboard:Shutdown()
hook.Remove( "PlayerButtonDown", "MKeyboard.DetectButtonPress" )
hook.Remove( "PlayerButtonUp", "MKeyboard.DetectButtonRelease" )
hook.Remove( "PlayerBindPress", "MKeyboard.BlockBinds" )
hook.Remove( "BlockChatInput", "MKeyboard.PreventOpeningChat" )
hook.Remove( "CustomChatBlockInput", "MKeyboard.PreventOpeningChat" )
end
local settings = MKeyboard.settings