Skip to content
Success

Changes

Summary

  1. Only check for ullage on ModuleEnginesRF (commit: b54372b) (details)
Commit b54372b006122a3aad5bc90d5380d01bb46427b5 by mrev1995
Only check for ullage on ModuleEnginesRF

When trying to check for ullage on a non-ModuleEnginesRF engine,
VesselState sets the reflection fields to null; this causes
the autostaging code to spam NREs and refuse to work.

This change makes sure that an engine is a (subclass of) ModuleEnginesRF
before trying to access the ullage field.
(commit: b54372b)
The file was modified MechJebLibBindings/ReflectionUtils.cs (diff)
The file was modified MechJeb2/VesselState.cs (diff)
The file was modified MechJeb2/PartExtensions.cs (diff)