Skip to content

Commit

Permalink
Merge pull request #422 from LengthenedGradient/Barrel-Attachments-Fix
Browse files Browse the repository at this point in the history
Fix Muzzle Attachment Points
  • Loading branch information
thecraftianman authored Aug 5, 2024
2 parents 2132c52 + 6eb5b2f commit af852d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/entities/acf_gun/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ do -- Spawn and Update functions --------------------------------
Entity.LongMuzzle = Attachment and Entity:WorldToLocal(Attachment.Pos)
end

Entity:CanProperty(nil, "bodygroups")

if Entity.Cyclic then -- Automatics don't change their rate of fire
WireLib.TriggerOutput(Entity, "Reload Time", Entity.Cyclic)
WireLib.TriggerOutput(Entity, "Rate of Fire", 60 / Entity.Cyclic)
Expand Down

0 comments on commit af852d8

Please sign in to comment.