mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
1_ 2_ 3_ random anims work again
This commit is contained in:
parent
fc96384881
commit
93a06938c5
@ -82,6 +82,9 @@ function SWEP:TranslateAnimation(seq)
|
||||
if istable(seq) then
|
||||
seq["BaseClass"] = nil
|
||||
seq = seq[math.Round(util.SharedRandom("ARC9_animtr", 1, #seq))]
|
||||
end
|
||||
|
||||
if self:HasAnimation("1_" .. seq, true) then -- if theres atleast 1 random seq
|
||||
local rando = {seq}
|
||||
|
||||
local i = 1
|
||||
@ -93,7 +96,6 @@ function SWEP:TranslateAnimation(seq)
|
||||
seq = rando[math.Round(util.SharedRandom("ARC9_animtr", 1, #rando))]
|
||||
end
|
||||
|
||||
|
||||
return seq
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user