Fix explored map being rendered incorrectly on first frame
This commit is contained in:
@@ -149,7 +149,7 @@ namespace OpenRA.Traits
|
|||||||
|
|
||||||
ExploreMapEnabled = gs.OptionOrDefault("explored", info.ExploredMapCheckboxEnabled);
|
ExploreMapEnabled = gs.OptionOrDefault("explored", info.ExploredMapCheckboxEnabled);
|
||||||
if (ExploreMapEnabled)
|
if (ExploreMapEnabled)
|
||||||
self.World.AddFrameEndTask(w => ExploreAll());
|
ExploreAll();
|
||||||
|
|
||||||
if (!fogEnabled && ExploreMapEnabled)
|
if (!fogEnabled && ExploreMapEnabled)
|
||||||
RevealedCells = map.ProjectedCells.Length;
|
RevealedCells = map.ProjectedCells.Length;
|
||||||
|
|||||||
Reference in New Issue
Block a user