Skip to content

Commit 19f06fc

Browse files
committed
fix a typo
dummy destroyer cannon no longer destroys console log
1 parent 58236b2 commit 19f06fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Data/Dummy.rte/Devices/Weapons/Destroyer/DestroyerCannon.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function ThreadedUpdate(self)
2121
self.activeSound:Stop();
2222
self.charge = 0;
2323
end
24-
24+
2525
self.inventorySwapTimer:Reset();
2626
if self.Magazine.RoundCount > 0 then
2727
if self.animTimer:IsPastSimMS(200 * (1 - self.charge)) then
@@ -38,7 +38,7 @@ function ThreadedUpdate(self)
3838
self.damagePar.Team = self.Team;
3939
self.damagePar.IgnoresTeamHits = true;
4040
self.damagePar.Lifetime = 100 * (1 + self.charge);
41-
41+
4242
self:RequestSyncedUpdate();
4343
end
4444
end
@@ -106,7 +106,7 @@ function SyncedUpdate(self)
106106
end
107107

108108
if self.damagePar then
109-
MovableMan:AddParticle(self.par);
109+
MovableMan:AddParticle(self.damagePar);
110110
self.damagePar = nil;
111111
end
112112

0 commit comments

Comments
 (0)