Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suspension Lock - Action Group issues #70

Open
shadowmage45 opened this issue Nov 26, 2019 · 0 comments
Open

Suspension Lock - Action Group issues #70

shadowmage45 opened this issue Nov 26, 2019 · 0 comments

Comments

@shadowmage45
Copy link
Owner

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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant