Skip to content

Commit 79fa549

Browse files
committed
[O] 力大砖飞 -> ResourcesOverride
1 parent cb9ed7f commit 79fa549

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

AquaMai.Config/Migration/ConfigMigration_V2_3_V2_4.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ public ConfigView Migrate(ConfigView src)
5555
dst.Remove("GameSystem.UnstableRate");
5656
}
5757

58+
if (src.IsSectionEnabled("Fancy.CustomSkinsPlusStatic"))
59+
{
60+
dst.EnsureDictionary("Fancy.ResourcesOverride");
61+
dst.Remove("Fancy.CustomSkinsPlusStatic");
62+
}
63+
64+
if (src.IsSectionEnabled("Fancy.RsOverride"))
65+
{
66+
dst.EnsureDictionary("Fancy.ResourcesOverride");
67+
dst.Remove("Fancy.RsOverride");
68+
}
69+
5870
return dst;
5971
}
6072
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace AquaMai.Mods.Fancy;
1414
name: "力大砖飞",
1515
en: "[Dangerous] Full-scene texture / sprite replacement. Static injection.",
1616
zh: "【危险功能】适用于便捷魔改的自定义全场景图片。警告:可能对游戏造成未知性能影响,可能与其他模组冲突?")]
17-
public class CustomSkinsPlusStatic
17+
public class ResourcesOverride
1818
{
1919
[ConfigEntry(name: "资源目录")]
2020
private static string skinsDir = "LocalAssets/ResourcesOverride";

0 commit comments

Comments
 (0)