public void BeforeEach() { Environment.SetEnvironmentVariable("is-testing", "true"); IHommMod mod = new TestMod(); ModLoader.RegisterMod(mod); ModLoader.EnableMods(); }
public static void Main(string[] args) { ModLoader.LoadMods(); ModLoader.EnableMods(); using (var game = new HommGame()) { game.Run(); } ModLoader.DisableMods(); ModLoader.UnloadMods(); }