Skip to content

Commit 47f70ef

Browse files
committed
set Activation on ShipEffects vesselmodule
1 parent 71adc5c commit 47f70ef

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
- Improve performance when new vessels are created (e.g. during RUD) - thanks @bimo1d
6+
- Avoid creating ShipEffects VesselModule for debris, spaceobjects, and dropped items - thanks @bimo1d
7+
38
## 0.9.13 - 2026-04-20
49

510
- Fix audio not working in cases where OnLoad was never called for the part, e.g. when going EVA

Source/RocketSoundEnhancement/ShipEffects.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ public static AerodynamicsFX AeroFX
5454
private float pastAngularVelocity;
5555
private float pastAcceleration;
5656

57+
public override Activation GetActivation()
58+
{
59+
return Activation.FlightScene | Activation.LoadedVessels;
60+
}
61+
5762
public bool Initialize()
5863
{
5964
if (vessel == null) return false;

0 commit comments

Comments
 (0)