Skip to content

Commit

Permalink
Changed rack GunFireEnabled check to separate RacksCanFire
Browse files Browse the repository at this point in the history
Complies with c58ddabe9fec41f3832d8c09a00a36769f62f3ee on main ACF
  • Loading branch information
Stooberton committed Feb 5, 2021
1 parent a007a50 commit d45e9bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/entities/acf_rack/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ do -- Firing -----------------------------------
function ENT:CanShoot()
if self.RetryShoot then return false end
if not self.Firing then return false end
if not ACF.GunfireEnabled then return false end
if not ACF.RacksCanFire then return false end

return true
end
Expand Down Expand Up @@ -583,7 +583,7 @@ do -- Loading ----------------------------------
function ENT:CanReload()
if self.RetryReload then return false end
if not self.Reloading then return false end
if not ACF.GunfireEnabled then return false end
if not ACF.RacksCanFire then return false end

return true
end
Expand Down

0 comments on commit d45e9bc

Please sign in to comment.