File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Source/RocketSoundEnhancement/PartModules Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1- using System . Linq ;
1+ using KSPBuildTools ;
2+ using System . Linq ;
23using UnityEngine ;
34
45namespace RocketSoundEnhancement . PartModules
@@ -21,6 +22,11 @@ public override void OnStart(StartState state)
2122 base . OnStart ( state ) ;
2223
2324 moduleRCSFX = part . Modules . GetModule < ModuleRCSFX > ( ) ;
25+ if ( moduleRCSFX == null )
26+ {
27+ Log . Error ( "No ModuleRCSFX found on part " + part . partInfo . name ) ;
28+ return ;
29+ }
2430 Initialized = true ;
2531 }
2632
Original file line number Diff line number Diff line change 44
55- Improved scene switch performance (thanks @Phantomical )
66- Fixed NRE spam when audio sources are destroyed in certain ways
7+ - Fixed NRE spam when a RSE_RCS module was added to a part that doesn't have RCS
78
89
910## [ 0.9.11] - 03-25-24
You can’t perform that action at this time.
0 commit comments