diff --git a/AutoPilot/Program.cs b/AutoPilot/Program.cs index 5f5eae9..229c605 100644 --- a/AutoPilot/Program.cs +++ b/AutoPilot/Program.cs @@ -2,7 +2,6 @@ * API index: https://github.com/malware-dev/MDK-SE/wiki/Api-Index * Vector transformation: https://github.com/malware-dev/MDK-SE/wiki/Vector-Transformations-with-World-Matrices * How to get rotation/position: https://forum.keenswh.com/threads/how-do-i-get-the-world-position-and-rotation-of-a-ship.7363867/ - * */ using Sandbox.Game.EntityComponents; @@ -49,11 +48,11 @@ namespace IngameScript readonly Output output; - IMyRemoteControl remoteController; - IMyCubeGrid grid; + readonly IMyRemoteControl remoteController; + readonly IMyCubeGrid grid; readonly List gyros = new List(); - IMyBroadcastListener connnectorMinerPositionListener; + readonly IMyBroadcastListener connnectorMinerPositionListener; MatrixD connectorMinerPosition; public Program()