Restore TestSkin & TestGametype for new engines

This commit is contained in:
spherallic 2023-01-09 11:08:29 +01:00
parent 0d726c6884
commit bad5ccfc91

View file

@ -764,6 +764,8 @@ namespace CodeImp.DoomBuilder.Windows
// Add new EngineInfo
EngineInfo newInfo = new EngineInfo();
newInfo.TestSkill = (int)Math.Ceiling(gameconfig.Skills.Count / 2f); // Set Medium skill level
newInfo.TestSkin = "Sonic";
newInfo.TestGametype = -1; //Single player
configinfo.TestEngines.Add(newInfo);
configinfo.Changed = true;