Пример #1
0
        internal void TerminalRefresh(bool update = true)
        {
            if (Ai?.LastTerminal == MyCube)
            {
                TerminalBlock.RefreshCustomInfo();
            }

            if (update && InControlPanel)
            {
                MyCube.UpdateTerminal();
            }
        }
Пример #2
0
        internal void TerminalRefresh(bool update = true)
        {
            if (Platform.State != MyWeaponPlatform.PlatformState.Ready || Status != Start.Started)
            {
                return;
            }

            if (Ai?.LastTerminal == MyCube)
            {
                TerminalBlock.RefreshCustomInfo();

                if (update && InControlPanel)
                {
                    MyCube.UpdateTerminal();
                }
            }
        }