Fixed Palindrone's stupid shotgun bug

This commit is contained in:
Arctic 2022-05-20 18:53:36 +10:00
parent 60925a48db
commit 542ef3d2a3
2 changed files with 17 additions and 1 deletions

16
addon.json Normal file
View File

@ -0,0 +1,16 @@
{
"title": "ARC9",
"description": "",
"type": "weapon",
"tags": [
"roleplay",
"realism"
],
"ignore": [
".git/*",
"README.md",
".py/*",
".blend/*",
".pdn/*"
]
}

View File

@ -306,7 +306,7 @@ function SWEP:EndReload()
anim = banim
local minprogress = (self:GetAnimationEntry(anim) or {}).MinProgress or 0.75
minprogress = math.min(minprogress, 1)
minprogress = math.min(minprogress, 0.99)
local t = self:PlayAnimation(anim, self:GetProcessedValue("ReloadTime", 1), true)