Swap hands

This commit is contained in:
Fesiug 2023-12-09 21:50:28 -05:00
parent bb8743fc28
commit 94d17f5cda
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ local function beatup( ply, num )
-- If the wanted weapon is in the other hand, request to holster it.
wep:D_SetReqID( !hand, "" )
end
if wep:D_GetID( hand ) != "" then -- If we have something in this hand, swap it with the other
wep:D_SetReqID( !hand, wep:D_GetID( hand ) )
end
return wep:D_SetReqID( hand, id )
end
end