--- a/VOIDCore_Flight.cs +++ b/VOIDCore_Flight.cs @@ -29,22 +29,18 @@ using KSP; using System; using UnityEngine; +using ToadicusTools; namespace VOID { [VOID_Scenes(GameScenes.FLIGHT)] public class VOIDCore_Flight : VOIDCore_Generic<VOIDCore_Flight> { - public VOIDCore_Flight() - { - base.Name = "VOID Core: Flight"; - } - public override void DrawConfigurables() { if (HighLogic.LoadedSceneIsFlight) { - this.consumeResource.value = GUILayout.Toggle(this.consumeResource, "Consume Resources"); + this.consumeResource.value = GUITools.Toggle(this.consumeResource, "Consume Resources"); } base.DrawConfigurables();