File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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" ;
You can’t perform that action at this time.
0 commit comments