mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 11:29:48 +07:00
hide orbits of hidden planets
This commit is contained in:
parent
97b0461d7f
commit
05b77d787e
@ -140,7 +140,7 @@ public class PlanetRenderer implements Disposable{
|
||||
}
|
||||
|
||||
private void renderOrbit(Planet planet){
|
||||
if(planet.parent == null) return;
|
||||
if(planet.parent == null || !planet.visible()) return;
|
||||
|
||||
Vec3 center = planet.parent.position;
|
||||
float radius = planet.orbitRadius;
|
||||
|
Loading…
Reference in New Issue
Block a user