Reload/Draw animations are often played twice

I use custom draw and reload functions.
But often those animations are played twice, like after a reload the animations starts again without doing anything.
This is really annoying and I have no idea why this happends or how to fix it.



I'm using,
*self.Weapon:SendWeaponAnim( ACT_VM_RELOAD ) *

,to set the animation and in my SWEP:Think I have an Idle timer to set the idle animation.

*if self.Idle == nil and CurTime() < self.Reloaddelay then
	self.Idle = CurTime()
        self:SendWeaponAnim( self.IdleAnim )
end
*
If it matters.


I’m confused so thank you when you can help me out!

self:SendWeaponAnim( ACT_VM_RELOAD )
self.IdleAnim = CurTime() + self.Owner:GetViewModel():SequenceDuration()

if self.IdleAnim and CurTime() >= self.IdleAnim then
self.IdleAnim = nil
self:SendWeaponAnim( ACT_VM_IDLE )
end

This dosen’t help me at all. Animations are played twice its not about the idleanim being messed up. or is it because the idle tries to play after the reload but it dosen’t have an idle animation?