Skip to content

Commit bd9f281

Browse files
committed
reverse list order
1 parent 44dac8b commit bd9f281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Content.Server/_DV/Traits/TraitSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ private void OnPlayerSpawnComplete(PlayerSpawnCompleteEvent args)
7070
sortedPrototypes.Add(trait);
7171
}
7272

73-
sortedPrototypes.Sort((a, b) => -a.Cost.CompareTo(b.Cost)); //Floof - get all traits from negative cost to positive cost
73+
sortedPrototypes.Sort((a, b) => a.Cost.CompareTo(b.Cost)); //Floof - get all traits from negative cost to positive cost
7474
foreach (var trait in sortedPrototypes)
7575
ApplyTrait(args.Mob, trait);
7676
// Floofstation edit end

0 commit comments

Comments
 (0)