diff --git a/cfg/Config.cs b/cfg/Config.cs index 621ae1d..40c7e53 100644 --- a/cfg/Config.cs +++ b/cfg/Config.cs @@ -34,7 +34,11 @@ namespace lib } - [Serializable] + public record class ConfigRec : ConfigBase + { + + } + public class Config : ConfigBase { @@ -45,7 +49,7 @@ namespace lib static public void startup( string filename ) { res.Mgr.register( load ); - res.Mgr.registerSub( typeof( Config ) ); + res.Mgr.registerSub( typeof( ConfigBase ) ); s_cfg = load( filename );