internal void Awake() { //Test setup.xml for validity, delete if it has junk data if (File.Exists("UserData/setup.xml")) { TestSetupXml(); } //Create a setup.xml if there isn't one if (!File.Exists("UserData/setup.xml")) { CreateSetupXml(); } Hooks.Apply(); }
internal void Awake() { if (IncompatiblePluginDetector.AnyIncompatiblePlugins()) { return; } //Test setup.xml for validity, delete if it has junk data if (File.Exists("UserData/setup.xml")) { TestSetupXml(); } //Create a setup.xml if there isn't one if (!File.Exists("UserData/setup.xml")) { CreateSetupXml(); } Hooks.Apply(); }