Skip to content

Commit

Permalink
MEC Check for being in correct scene before send message
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKell committed Jul 10, 2015
1 parent 37e7a53 commit 9c82738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Engines/ModuleEngineConfigs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,8 @@ virtual public void SetConfiguration(string newConfiguration = null, bool resetT
GameEvents.onEditorShipModified.Fire(EditorLogic.fetch.ship);*/

// fire config modified event
EngineConfigChanged();
if(HighLogic.LoadedSceneIsEditor || HighLogic.LoadedSceneIsFlight)
EngineConfigChanged();

SetupFX();

Expand Down

0 comments on commit 9c82738

Please sign in to comment.