Skip to content

Commit 3c2eeba

Browse files
authored
Merge pull request #502 from bloodycop6385/feat-proper-combine
Use bit.bor for KEY_BLACKLIST
2 parents af0129f + 9747ffb commit 3c2eeba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gamemode/core/hooks/sh_hooks.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ do
378378
end
379379

380380
do
381-
local KEY_BLACKLIST = IN_ATTACK + IN_ATTACK2
381+
local KEY_BLACKLIST = bit.bor( IN_ATTACK, IN_ATTACK2 )
382382

383383
function GM:StartCommand(client, command)
384384
if (!client:CanShootWeapon()) then

0 commit comments

Comments
 (0)