KSPWheel
KSPWheel copied to clipboard
Suspension Lock - Action Group issues
From forums: https://forum.kerbalspaceprogram.com/index.php?/topic/155056-17x-kerbal-foundries-continued-tracks-wheels-and-gear/&do=findComment&comment=3709852
I was testing the suspension lock (to use in the default legs to save a lander in the Mun full of Kraken power) and noticed the action group was not working, changed to the code below and seems good now.
from
[KSPAction("Lock Suspension")]
public void suspensionLockAction(KSPActionParam param)
{
suspensionLockChanged(null, null);
}
to
[KSPAction("Toggle Suspension Lock")]
public void suspensionLockAction(KSPActionParam param)
{
lockSuspension = !lockSuspension;
suspensionLockChanged(null, null);
}