mirror of
https://github.com/CFC-Servers/chucks_weaponry_2.0.git
synced 2025-03-04 03:13:12 -05:00
Check for null CW_VM
This commit is contained in:
parent
0070f8088c
commit
3d843375be
@ -1075,6 +1075,7 @@ function SWEP:PostDrawViewModel()
|
||||
end
|
||||
|
||||
function SWEP:getMuzzlePosition()
|
||||
if not IsValid( self.CW_VM ) then return end
|
||||
return self.CW_VM:GetAttachment(self.MuzzleAttachment)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user