Skip to content

Commit

Permalink
Merge pull request #3017 from Kefta/patch-5
Browse files Browse the repository at this point in the history
Remove PreDrawViewModel IsValid check
  • Loading branch information
FPtje committed Jun 24, 2020
2 parents 96a8691 + 3b7c5de commit df9e727
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion entities/weapons/stick_base/shared.lua
Expand Up @@ -90,7 +90,6 @@ function SWEP:Deploy()
end

function SWEP:PreDrawViewModel(vm)
if not IsValid(vm) then return end
for i = 9, 15 do
vm:SetSubMaterial(i, "!darkrp/" .. self:GetClass())
end
Expand Down

0 comments on commit df9e727

Please sign in to comment.