Fixed Resources
Zone generator was attempting to distribute all simple commodities, now it only distributes those with map layers Blueprints can now also produce simple commodities
This commit is contained in:
parent
8d1b7bed28
commit
967b146d87
3 changed files with 3 additions and 3 deletions
|
|
@ -425,7 +425,7 @@ public class StrategyGameManager : MonoBehaviour
|
|||
global: _context.GlobalData,
|
||||
zone: zoneData,
|
||||
mapLayers: _context.MapLayers.Values,
|
||||
resources: _cache.GetAll<SimpleCommodityData>(),
|
||||
resources: _cache.GetAll<SimpleCommodityData>().Where(i=>i.ResourceDensity.Any()),
|
||||
orbitData: out orbits,
|
||||
planetsData: out planets);
|
||||
_cache.AddAll(orbits);
|
||||
|
|
|
|||
Loading…
Reference in a new issue