Dynamic selection of planet tech in rules dialog (#8487)
* Dynamic selection of planets in rules dialog * Code cleanup * Do not let Anuken/Mindustry#8494 happen again * Fixed inconsistency with campaign sectors
This commit is contained in:
@@ -191,6 +191,8 @@ public class Rules{
|
||||
public float backgroundOffsetX = 0.1f, backgroundOffsetY = 0.1f;
|
||||
/** Parameters for planet rendered in the background. Cannot be changed once a map is loaded. */
|
||||
public @Nullable PlanetParams planetBackground;
|
||||
/** Rules from this planet are applied. If it's {@code sun}, mixed tech is enabled. */
|
||||
public Planet planet = Planets.serpulo;
|
||||
|
||||
/** Copies this ruleset exactly. Not efficient at all, do not use often. */
|
||||
public Rules copy(){
|
||||
|
||||
Reference in New Issue
Block a user