Merge pull request #7010 from obrakmann/fix6990_cargo_on_radar
Do not show cargo on radar map
This commit is contained in:
@@ -142,7 +142,7 @@ namespace OpenRA.Graphics
|
||||
var stride = bitmapData.Stride / 4;
|
||||
foreach (var t in world.ActorsWithTrait<IRadarSignature>())
|
||||
{
|
||||
if (world.FogObscures(t.Actor))
|
||||
if (!t.Actor.IsInWorld || world.FogObscures(t.Actor))
|
||||
continue;
|
||||
|
||||
var color = t.Trait.RadarSignatureColor(t.Actor);
|
||||
|
||||
Reference in New Issue
Block a user