Fixed crash
This commit is contained in:
@@ -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.*/
|
||||||
|
|||||||
@@ -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.*/
|
||||||
|
|||||||
Reference in New Issue
Block a user