Unhardcoded engine credits file

Moved the file name/path to ModCredits, read from mod.yaml
This commit is contained in:
penev92
2021-10-12 13:14:55 +03:00
committed by Matthias Mailänder
parent 9b1cec7712
commit a71da0a25a
2 changed files with 30 additions and 25 deletions

View File

@@ -15,7 +15,8 @@ namespace OpenRA
{
public readonly string ModTabTitle = "Game";
[FieldLoader.Require]
public readonly string ModCreditsFile = null;
public readonly string EngineCreditsFile = "^EngineDir|AUTHORS";
}
}