We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32ed4a8 commit 39ffa9bCopy full SHA for 39ffa9b
Dummy.rte/Devices/Weapons/Destroyer/DestroyerCannon.lua
@@ -17,10 +17,7 @@ end
17
function Update(self)
18
if self.Magazine then
19
if self.inventorySwapTimer:IsPastSimTimeLimit() then
20
- if self.activeSound then
21
- self.activeSound:Stop();
22
- self.activeSound = nil;
23
- end
+ self.activeSound:Stop();
24
self.charge = 0;
25
end
26
self.inventorySwapTimer:Reset();
@@ -89,13 +86,9 @@ function Update(self)
89
86
MovableMan:AddParticle(par);
90
87
91
88
92
- self.activeSound.stop();
93
94
95
96
function Destroy(self)
97
98
99
100
101
0 commit comments