Move initial map exploration to Shroud.

This commit is contained in:
Paul Chote
2016-04-20 00:00:26 -04:00
parent dade84db85
commit a0b5b5ce66
5 changed files with 14 additions and 12 deletions

View File

@@ -107,7 +107,7 @@ namespace OpenRA.Traits
if (EnableAll)
{
self.Owner.Shroud.ExploreAll(self.World);
self.Owner.Shroud.ExploreAll();
var amount = order.ExtraData != 0 ? (int)order.ExtraData : info.Cash;
self.Trait<PlayerResources>().GiveCash(amount);
@@ -177,7 +177,7 @@ namespace OpenRA.Traits
case "DevGiveExploration":
{
self.Owner.Shroud.ExploreAll(self.World);
self.Owner.Shroud.ExploreAll();
break;
}