Regress the editor so it actually works

This commit is contained in:
Paul Chote
2010-06-27 23:59:54 +12:00
parent dfb6d19646
commit 560c3ce5af

View File

@@ -379,7 +379,7 @@ namespace OpenRA.Editor
using (var nmd = new NewMapDialog())
{
nmd.theater.Items.Clear();
nmd.theater.Items.AddRange(Rules.TileSets.Select(a => a.Value.Name).ToArray());
nmd.theater.Items.AddRange(Rules.TileSets.Select(a => a.Value.Id).ToArray());
nmd.theater.SelectedIndex = 0;
if (DialogResult.OK == nmd.ShowDialog())