File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Source/RunActivity/Viewer3D Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -517,8 +517,7 @@ public virtual void Update(ElapsedTime elapsedTime)
517517 {
518518 dynamicWeather = new DynamicWeather ( ) ;
519519 }
520- var weatherChange = Program . Simulator . ActivityRun . triggeredEventWrapper . ParsedObject . Outcomes . ORTSWeatherChange != null ?
521- Program . Simulator . ActivityRun . triggeredEventWrapper . ParsedObject . Outcomes . ORTSWeatherChange : Program . Simulator . ActivityRun . triggeredEventWrapper . ParsedObject . ORTSWeatherChange ;
520+ var weatherChange = Program . Simulator . ActivityRun . triggeredEventWrapper . ParsedObject . ORTSWeatherChange ?? Program . Simulator . ActivityRun . triggeredEventWrapper . ParsedObject . Outcomes . ORTSWeatherChange ;
522521 dynamicWeather . WeatherChange_Init ( weatherChange , this ) ;
523522 Program . Simulator . ActivityRun . triggeredEventWrapper = null ;
524523 }
You can’t perform that action at this time.
0 commit comments