Skip to content

Commit

Permalink
Fix for weapons using up cased hold types
Browse files Browse the repository at this point in the history
Fix #43
  • Loading branch information
VickyFrenzy committed Feb 6, 2024
1 parent 70f7666 commit e40eeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/enhanced_camera_2/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function EnhancedCameraTwo:GetPose()
return "drive"
end
local pose = string.sub(seqname, (string.find(seqname, "_") or 0) + 1)
pose = (wep and wep.DefaultHoldType) or pose
pose = string.lower((wep and wep.DefaultHoldType) or pose)
if string.find(pose, "all") then
return "normal"
elseif pose == "smg1" then
Expand Down

0 comments on commit e40eeb2

Please sign in to comment.