We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58236b2 commit 19f06fcCopy full SHA for 19f06fc
1 file changed
Data/Dummy.rte/Devices/Weapons/Destroyer/DestroyerCannon.lua
@@ -21,7 +21,7 @@ function ThreadedUpdate(self)
21
self.activeSound:Stop();
22
self.charge = 0;
23
end
24
-
+
25
self.inventorySwapTimer:Reset();
26
if self.Magazine.RoundCount > 0 then
27
if self.animTimer:IsPastSimMS(200 * (1 - self.charge)) then
@@ -38,7 +38,7 @@ function ThreadedUpdate(self)
38
self.damagePar.Team = self.Team;
39
self.damagePar.IgnoresTeamHits = true;
40
self.damagePar.Lifetime = 100 * (1 + self.charge);
41
42
self:RequestSyncedUpdate();
43
44
@@ -106,7 +106,7 @@ function SyncedUpdate(self)
106
107
108
if self.damagePar then
109
- MovableMan:AddParticle(self.par);
+ MovableMan:AddParticle(self.damagePar);
110
self.damagePar = nil;
111
112
0 commit comments