// The ModuleWheelDeployment.slaveModules field should match the index
// of the ModuleLight in order for the light to controlled depending on
// the extended / retracted state of the wheel.
// There is a mistake in the stock configs with that field being set to the
// wrong module index, resulting in the lights being always on even when
// the landing gear is retracted. These MM patches correct that.
// Fix issue #122 : https://github.com/KSPModdingLibs/KSPCommunityFixes/issues/122

@PART[GearSmall]:FIRST
{
  @MODULE[ModuleWheelDeployment]
  {
    @slaveModules = 9
  }
}

@PART[SmallGearBay]:FIRST
{
  @MODULE[ModuleWheelDeployment]
  {
    @slaveModules = 9
  }
}
