Fix map editor radar ignoring color from terrain

This commit is contained in:
Nikita Pozdeev
2020-06-14 22:31:10 +04:00
committed by Matthias Mailänder
parent 4fe7daa85e
commit cb41be113a
3 changed files with 16 additions and 6 deletions

View File

@@ -316,7 +316,7 @@ namespace OpenRA.Mods.Common.Traits
{
foreach (var previewsForCell in cellMap)
foreach (var preview in previewsForCell.Value)
destinationBuffer.Add(Pair.New(previewsForCell.Key, preview.Owner.Color));
destinationBuffer.Add(Pair.New(previewsForCell.Key, preview.RadarColor));
}
public EditorActorPreview this[string id]