Skip to content

Suspension Lock - Action Group issues #70

@shadowmage45

Description

@shadowmage45

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);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions