Fixed crash

This commit is contained in:
Anuken
2018-10-05 23:04:34 -04:00
parent ed0df64cf9
commit 0ce226d0c9
3 changed files with 4 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ public class Sector{
public int width = 1, height = 1; public int width = 1, height = 1;
/**Num of missions in this sector that have been completed so far.*/ /**Num of missions in this sector that have been completed so far.*/
public int completedMissions; public int completedMissions;
/**Display texture. Needs to be disposed.*/ /**Display texture. Needs to be disposed.*/
public transient Texture texture; public transient Texture texture;
/**Missions of this sector-- what needs to be accomplished to unlock it.*/ /**Missions of this sector-- what needs to be accomplished to unlock it.*/

View File

@@ -29,7 +29,7 @@ public abstract class Mission{
} }
public GameMode getMode(){ public GameMode getMode(){
return null; return GameMode.noWaves;
} }
/**Sets the message displayed on mission begin. Returns this mission for chaining.*/ /**Sets the message displayed on mission begin. Returns this mission for chaining.*/