ANTemplate in Model Configs

This commit exposes antemplates to the model config, this lets authors specify what kind of authors notes template they would like to use for their model. Users can still change it if they desire.
This commit is contained in:
henk717 2021-12-31 00:11:18 +01:00
parent 455dbd503b
commit 796c71b7f7
1 changed files with 4 additions and 0 deletions

View File

@ -2104,6 +2104,10 @@ def loadmodelsettings():
vars.dynamicscan = js["dynamicscan"]
if("formatoptns" in js):
vars.formatoptns = js["formatoptns"]
if("antemplate" in js):
vars.setauthornotetemplate = js["antemplate"]
if(not vars.gamestarted):
vars.authornotetemplate = vars.setauthornotetemplate
model_config.close()
#==================================================================#