mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-10 07:07:03 +07:00
Save satellite presence
This commit is contained in:
parent
a31de609ce
commit
182a8837be
@ -36,9 +36,9 @@ public class GameState{
|
||||
state = astate;
|
||||
}
|
||||
|
||||
/**Note that being in a campaign does not necessarily mean having a sector. */
|
||||
/** Note that being in a campaign does not necessarily mean having a sector. */
|
||||
public boolean isCampaign(){
|
||||
return rules.sector != null;
|
||||
return rules.sector != null || rules.satellite != null;
|
||||
}
|
||||
|
||||
public boolean hasSector(){
|
||||
|
@ -1,5 +1,6 @@
|
||||
package mindustry.game;
|
||||
|
||||
import arc.util.ArcAnnotate.*;
|
||||
import mindustry.annotations.Annotations.*;
|
||||
import arc.struct.*;
|
||||
import arc.graphics.*;
|
||||
@ -56,8 +57,10 @@ public class Rules{
|
||||
public float bossWaveMultiplier = 3f;
|
||||
/** How many times longer a launch wave takes. */
|
||||
public float launchWaveMultiplier = 2f;
|
||||
/** Zone for saves that have them.*/
|
||||
public Sector sector;
|
||||
/** Sector for saves that have them.*/
|
||||
public @Nullable Sector sector;
|
||||
/** Satellite that save is on. Indicates campaign. */
|
||||
public @Nullable Satellite satellite;
|
||||
/** Spawn layout. */
|
||||
public Array<SpawnGroup> spawns = new Array<>();
|
||||
/** Determines if there should be limited respawns. */
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=e925e63ed9201fd2f20a06cc6736f07c936f6882
|
||||
archash=8f106aca9385924404e9f2125006d2b16457af4b
|
||||
|
Loading…
Reference in New Issue
Block a user