Skip to content

Commit 0091b0c

Browse files
committed
Fix #30 - broken reentry sounds
1 parent d7e2464 commit 0091b0c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Source/RocketSoundEnhancement/ShipEffects.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ IEnumerator SetupAudioSources(List<SoundLayer> soundLayers, bool hasAirSimFilter
144144
foreach (var soundLayer in soundLayers)
145145
{
146146
// if the vessel was unloaded while the coroutine was running, abort
147-
if (!initialized) break;
147+
if (!vessel.loaded) break;
148148

149149
string soundLayerName = soundLayer.name;
150150
if (!Sources.ContainsKey(soundLayerName))

changelog.md

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

3+
# [0.9.11] -
4+
- Fixed missing reentry and wind sounds
5+
36
# [0.9.10] - 03-15-24
47
- Fixed NRE spam when a vessel is unloaded quickly after being loaded (often when crashing into terrain)
58
- Massively reduce the memory impact of the comb filter

0 commit comments

Comments
 (0)