ModApi MyObjectBuilder_SolarPanel MyGameLogicComponent 1.199

diK shared this bug 3 years ago
Reported

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

Replies (1)

photo
1

Hello, diK!

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

Kind Regards

Laura, QA Department

Leave a Comment
 
Attach a file