Fix IDE0029
This commit is contained in:
committed by
Pavel Penev
parent
67ba3e55de
commit
8223161959
@@ -94,7 +94,7 @@ namespace OpenRA.Mods.Common.Terrain
|
||||
}
|
||||
|
||||
var frameCount = terrainInfo.EnableDepth && depthFrames == null ? allFrames.Length / 2 : allFrames.Length;
|
||||
var indices = templateInfo.Frames != null ? templateInfo.Frames : Exts.MakeArray(t.Value.TilesCount, j => j);
|
||||
var indices = templateInfo.Frames ?? Exts.MakeArray(t.Value.TilesCount, j => j);
|
||||
|
||||
var start = indices.Min();
|
||||
var end = indices.Max();
|
||||
|
||||
Reference in New Issue
Block a user