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

Mini Status on PB Block #11

Open
dlaflotte opened this issue Aug 7, 2020 · 2 comments
Open

Mini Status on PB Block #11

dlaflotte opened this issue Aug 7, 2020 · 2 comments

Comments

@dlaflotte
Copy link
Owner

A nice feature may be to have the ministatus always displayed on the PB block as well.

@Radar5k
Copy link

Radar5k commented Mar 6, 2021

I think this might do it...

Replace line 319...
iPB.CustomData += "\nOFP@0 = default";

With...
if (lcdPanels.Count == 0 && cockpits.Count == 0) { iPB.CustomData += "\nOFP@0 = default"; } else { iPB.CustomData += "\nOFP@0 = ministatus"; }

Have fun! =8^)

@dlaflotte
Copy link
Owner Author

Makes sense. Let me put that in and test. Thanks.

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

2 participants