Fix RCS1257, RCS1258, RCS1261, RCS1262, RCS1265, RCS1266, RCS1267

This commit is contained in:
RoosterDragon
2024-11-25 22:19:51 +00:00
committed by Gustas Kažukauskas
parent a324af1afd
commit 1b2c119b58
23 changed files with 59 additions and 40 deletions

View File

@@ -477,7 +477,7 @@ namespace OpenRA.Mods.Common.Traits
{
var types = typeWeights
.Select(kv => kv.Key)
.OrderBy(k => k)
.Order()
.ToArray();
var weights = types
.Select(type => typeWeights[type])