MyLargeMissileTurret missing attribute for controls mapping

Phoera shared this bug 7 months ago
Considered

actually title have it all.

due to missing attribute we can't create controls for missile turrets directly.

since

MyAPIGateway.TerminalControls.CreateControl<IMyTerminalControlOnOffSwitch, IMyLargeMissileTurret>("Magic_OnOff");
will return null.

thou same work for gatling and interior ones.

issue in missing attribute MyTerminalInterface on missile turret class.


to fix it, just need to add

MyTerminalInterface(typeof(SpaceEngineers.Game.ModAPI.IMyLargeMissileTurret),typeof(SpaceEngineers.Game.ModAPI.Ingame.IMyLargeMissileTurret))
to class definition.

Comments (1)

photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.

Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department