KSP-RO / RealFuels

Modular fuel tanks and engines, with real fuels and realistic performance.
54 stars 66 forks source link

Blank Engine Configs section when all are hidden #289

Open lpgagnon opened 2 years ago

lpgagnon commented 2 years ago

from discord https://discord.com/channels/319857228905447436/620690446540341261/962070659092054067

When all additional engine configs on a part are hidden by the Speculative Level system, the part's info sidebar ends up with a blank Engine Configs section; looks like a bug more than anything else.

Hide it? or a good place to add a message explaining why it's blank?

It's normally hidden when a part has no additional configs at all.

DRVeyl commented 2 years ago

I don't see how ModuleEngineConfigs.GetInfo() produces a different result between when there are no additional configs [but it is still using MEC] as when configs get filtered out. The code path for <fewer than 2 configs> is the same regardless if the filter had anything to do with the reason why.

Starwaster commented 2 years ago

You probably need to look at what TLTInfo() is doing.