Exemplo n.º 1
0
        public static void DungeonGenerator_Load_Post(DungeonGenerator __instance)
        {
            Main.Log.LogInfo($"Loaded dungeon '{__instance.GetCleanName()}' with theme {__instance.m_themes}\n");

            if (Configs.AllowedThemes.Value.Contains(__instance.m_themes.ToString()))
            {
                Dungeons.OnDungeonLoad(__instance);
            }
        }