ModApi MyObjectBuilder_SolarPanel MyGameLogicComponent 1.199

diK shared this bug 3 months ago
Reported – Awaiting fix

It is not possible to use MyGameLogicComponent with MyObjectBuilder_SolarPanel.

namespace SolarPanel
{
    [MyEntityComponentDescriptor(typeof(MyObjectBuilder_SolarPanel), false)]
    public class SolarPanelGameLogic : MyGameLogicComponent
    {
        public override void Init(MyObjectBuilder_EntityBase objectBuilder)
        {
            MyLog.Default.WriteLine("SolarPanel: no output");
        }
    }
}

Comments (1)

photo
1

Hello, diK!

Thank you for letting us know about this issue. This has been reported internally,

Kind Regards

Laura, QA Department