Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
X606 committed Feb 25, 2023
2 parents 53fa7ed + 815d7f9 commit b652951
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions SpaceWarp/API/Mod.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
using SpaceWarp.API.Configuration;
using KSP.Game;
using SpaceWarp.API.Configuration;
using SpaceWarp.API.Logging;
using UnityEngine;

namespace SpaceWarp.API
{
public abstract class Mod : MonoBehaviour
public abstract class Mod : KerbalMonoBehaviour
{
public BaseModLogger Logger;
public SpaceWarpManager Manager;
Expand Down
3 changes: 2 additions & 1 deletion SpaceWarp/API/SpaceWarpManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Linq;
using System.Reflection;
using HarmonyLib;
using KSP.Game;
using UnityEngine;
using Newtonsoft.Json;
using SpaceWarp.API.Configuration;
Expand All @@ -15,7 +16,7 @@ namespace SpaceWarp.API
/// <summary>
/// Handles all the SpaceWarp initialization and mod processing.
/// </summary>
public class SpaceWarpManager : MonoBehaviour
public class SpaceWarpManager : KerbalMonoBehaviour
{
private BaseModLogger _modLogger;

Expand Down

0 comments on commit b652951

Please sign in to comment.