Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
Alphabetical order in animal toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
juanosarg committed Aug 13, 2021
1 parent a7fc0d5 commit 5cdf695
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified 1.3/Assemblies/VFECore.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public override void ExposeData()
public void DoWindowContents(Rect inRect)
{

List<string> keys = pawnSpawnStates.Keys.ToList().OrderByDescending(x => x).ToList();
List<string> keys = pawnSpawnStates.Keys.ToList().OrderByDescending(x => DefDatabase<ThingDef>.GetNamed(x).label).ToList();
Listing_Standard ls = new Listing_Standard();
Rect rect = new Rect(inRect.x, inRect.y, inRect.width, inRect.height);
Rect rect2 = new Rect(0f, 0f, inRect.width - 30f, keys.Count * 24);
Expand Down

0 comments on commit 5cdf695

Please sign in to comment.