Added "Launching From" info

This commit is contained in:
Anuken
2020-11-18 20:05:45 -05:00
parent 8692639e62
commit 72d5a8a768
5 changed files with 7 additions and 1 deletions
+3
View File
@@ -43,6 +43,8 @@ public class SectorInfo{
public boolean waves = true;
/** Whether attack mode is enabled here. */
public boolean attack = false;
/** Whether this sector has any enemy spawns. */
public boolean hasSpawns = true;
/** Wave # from state */
public int wave = 1, winWave = -1;
/** Waves this sector can survive if under attack. Based on wave in info. <0 means uncalculated. */
@@ -168,6 +170,7 @@ public class SectorInfo{
secondsPassed = 0;
wavesPassed = 0;
damage = 0;
hasSpawns = spawner.countSpawns() > 0;
if(state.rules.sector != null){
state.rules.sector.saveInfo();