Skip to content

Commit 445eda6

Browse files
committed
fix rate of fire not resetting
1 parent 4254cda commit 445eda6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Data/Browncoats.rte/Devices/Weapons/Extinction/Extinction.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ function Update(self)
105105

106106
local playerControlled = self.parent:IsPlayerControlled()
107107

108+
self.RateOfFire = 300;
109+
108110
if self.otherHandGun or not self.parent.BGArm or not self.parent.FGArm or not playerControlled then
109111
self.FullAuto = false;
110112
if self.fanFire then
@@ -123,7 +125,6 @@ function Update(self)
123125
else
124126
self.FullAuto = true;
125127
self.reloadDelay = 150;
126-
self.RateOfFire = 300;
127128
end
128129
else
129130
self.parent = nil;

0 commit comments

Comments
 (0)