diff --git a/Data/Browncoats.rte/Devices/Weapons/Heatlance/Heatlance.lua b/Data/Browncoats.rte/Devices/Weapons/Heatlance/Heatlance.lua index 35bdb99973..16bf2771e4 100644 --- a/Data/Browncoats.rte/Devices/Weapons/Heatlance/Heatlance.lua +++ b/Data/Browncoats.rte/Devices/Weapons/Heatlance/Heatlance.lua @@ -126,7 +126,7 @@ function ThreadedUpdate(self) end end -function OnDestroy(self) +function Destroy(self) self.flameSwingLoopSound.Volume = 0; self.plumeLoopSound.Volume = 0; end @@ -134,4 +134,4 @@ end function OnDetach(self) self.flameSwingLoopSound.Volume = 0; self.plumeLoopSound.Volume = 0; -end \ No newline at end of file +end diff --git a/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryConsole/RefineryConsole.lua b/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryConsole/RefineryConsole.lua index c383f4befa..0fac435827 100644 --- a/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryConsole/RefineryConsole.lua +++ b/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryConsole/RefineryConsole.lua @@ -6,8 +6,8 @@ function Create(self) self.loopSound:Play(self.Pos); end -function OnDestroy(self) +function Destroy(self) self.Activity:SendMessage("RefineryAssault_RefineryConsoleBroken"); -end \ No newline at end of file +end diff --git a/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryDrill/RefineryDrill.lua b/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryDrill/RefineryDrill.lua index c73935fe2f..3c6673acab 100644 --- a/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryDrill/RefineryDrill.lua +++ b/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryDrill/RefineryDrill.lua @@ -33,6 +33,6 @@ function ThreadedUpdate(self) end end -function OnDestroy(self) +function Destroy(self) self.loopSound:Stop(-1); -end \ No newline at end of file +end diff --git a/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryGenerator/RefineryGenerator.lua b/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryGenerator/RefineryGenerator.lua index 0aafa548ce..3d47aeedbc 100644 --- a/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryGenerator/RefineryGenerator.lua +++ b/Data/Browncoats.rte/Scenes/Objects/Breakables/RefineryGenerator/RefineryGenerator.lua @@ -15,6 +15,6 @@ function ThreadedUpdate(self) end end -function OnDestroy(self) +function Destroy(self) self.Activity:SendMessage("RefineryAssault_RefineryGeneratorBroken"); -end \ No newline at end of file +end