Don’t clear shroud outside the map. Fixes #6097.
This commit is contained in:
@@ -217,7 +217,8 @@ namespace OpenRA.Traits
|
|||||||
|
|
||||||
public void ExploreAll(World world)
|
public void ExploreAll(World world)
|
||||||
{
|
{
|
||||||
explored.Clear(true);
|
foreach (var cell in map.Cells)
|
||||||
|
explored[cell] = true;
|
||||||
|
|
||||||
Invalidate();
|
Invalidate();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user