public static void CreateInstance(ScadMod mod)
 {
     if (Instance == null)
     {
         Instance = new DustDevil();
     }
     ModList.Add(mod);
 }
示例#2
0
        public void Initialize()
        {
            Log("===================================================================");
            Log("DATETIME: " + DateTime.Now.ToLongDateString() + " " + DateTime.Now.ToShortTimeString());
            Log("===================================================================");

            Util.GetConfigFile(this).Reload();
            DustDevil.CreateInstance(this);
        }