generated from AriasCreations/vsmodtemplate
Include a version number in config, to track if it needs automatic migrations.
This commit is contained in:
parent
2efa532059
commit
a3eee94f7e
3 changed files with 15 additions and 13 deletions
|
@ -361,8 +361,8 @@ namespace AriasServerUtils
|
|||
config = API.LoadModConfig<ASUModConfig>(GetConfigurationFile("global", ModConfigType.Global));
|
||||
if (config == null) config = new ASUModConfig();
|
||||
|
||||
// Step 2. Check if there are new or missing cooldowns
|
||||
config.SanityCheckCooldowns();
|
||||
// Step 2. Check if config needs Migrations
|
||||
config.SanityCheck();
|
||||
|
||||
// -> Step 3. Load Mod Warps <-
|
||||
serverWarps = API.LoadModConfig<Warps>(GetConfigurationFile("warps", ModConfigType.Global));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue