Asteroid Belts
Sector renderer is now also rendering asteroid belts. All gravity calculations have been moved out of monobehaviors.
This commit is contained in:
parent
d12d7c5c45
commit
a981a46170
76 changed files with 25027 additions and 2016 deletions
|
|
@ -63,7 +63,7 @@ public class ResourceScanner : IBehavior, IAlwaysUpdatedBehavior
|
|||
|
||||
public bool Update(float delta)
|
||||
{
|
||||
var planetData = Context.Cache.Get<PlanetData>(ScanTarget);
|
||||
var planetData = Context.Cache.Get<BodyData>(ScanTarget);
|
||||
if (planetData != null)
|
||||
{
|
||||
if (planetData is AsteroidBeltData beltData)
|
||||
|
|
|
|||
Loading…
Reference in a new issue