mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-26 22:01:45 +00:00
Fixed a problem where polyobject numbers where not sorted correctly in the editing dialogs. Fixes #690
This commit is contained in:
parent
910bd0fb22
commit
afa09e6c64
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ namespace CodeImp.DoomBuilder.Types
|
||||||
ponumslist.Sort((a, b) => -1 * a.CompareTo(b));
|
ponumslist.Sort((a, b) => -1 * a.CompareTo(b));
|
||||||
|
|
||||||
// Create enum items
|
// Create enum items
|
||||||
foreach(int ponum in ponums)
|
foreach(int ponum in ponumslist)
|
||||||
polist.Add(new EnumItem(ponum.ToString(), ponum.ToString()));
|
polist.Add(new EnumItem(ponum.ToString(), ponum.ToString()));
|
||||||
|
|
||||||
return polist;
|
return polist;
|
||||||
|
|
Loading…
Reference in a new issue