Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
thecraftianman committed Apr 16, 2024
2 parents f5329ea + 6698813 commit bda55a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/entities/acf_rack/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ do -- Spawning and Updating --------------------
Entity.ShortName = Rack.ID
Entity.EntType = Rack.EntType
Entity.RackData = Rack
Entity.Caliber = Rack.Caliber
Entity.Caliber = Rack.Caliber or 0
Entity.MagSize = Rack.MagSize or 1
Entity.ForcedIndex = Entity.ForcedIndex and math.max(Entity.ForcedIndex, Entity.MagSize)
Entity.PointIndex = 1
Expand Down Expand Up @@ -830,6 +830,7 @@ do -- Misc -------------------------------------
local Reload = IsValid(Missile) and Missile.ReloadTime or 1

self.BulletData = BulletData
self.Caliber = BulletData.Caliber
self.NextFire = Point.NextFire
self.Jammed = Point.Disabled

Expand Down

0 comments on commit bda55a8

Please sign in to comment.