public static void CreateInstance(ScadMod mod) { if (Instance == null) { Instance = new DustDevil(); } ModList.Add(mod); }
public void Initialize() { Log("==================================================================="); Log("DATETIME: " + DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToShortTimeString()); Log("==================================================================="); Util.GetConfigFile(this).Reload(); DustDevil.CreateInstance(this); }