mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2025-01-31 05:00:34 +00:00
Restore TestSkin & TestGametype for new engines
This commit is contained in:
parent
0d726c6884
commit
bad5ccfc91
1 changed files with 2 additions and 0 deletions
|
@ -764,6 +764,8 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
// Add new EngineInfo
|
// Add new EngineInfo
|
||||||
EngineInfo newInfo = new EngineInfo();
|
EngineInfo newInfo = new EngineInfo();
|
||||||
newInfo.TestSkill = (int)Math.Ceiling(gameconfig.Skills.Count / 2f); // Set Medium skill level
|
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.TestEngines.Add(newInfo);
|
||||||
configinfo.Changed = true;
|
configinfo.Changed = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue