Bugfixes
This commit is contained in:
@@ -210,7 +210,7 @@ public class SectorPresets{
|
||||
new DestroyBlocksObjective(Blocks.coreBastion, Team.malis, Point2.pack(290,501), Point2.pack(158,496)),
|
||||
new TimerObjective("@objective.nuclearlaunch", 4 * 60 * 60).withMarkers(
|
||||
new TextMarker("Evacuate base", 1, 1),
|
||||
new MinimapMarker(338,378, Pal.remove)
|
||||
new MinimapMarker(338, 378, 30f, 14f, Pal.remove)
|
||||
).withFlags("nuke1")
|
||||
);
|
||||
};
|
||||
|
||||
@@ -362,7 +362,7 @@ public class Logic implements ApplicationListener{
|
||||
}
|
||||
}
|
||||
|
||||
first = state.rules.objectives.first();
|
||||
first = state.rules.objectives.firstOpt();
|
||||
completed = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -499,6 +499,14 @@ public class MapObjectives{
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
public MinimapMarker(float x, float y, float radius, float stroke, Color color){
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.stroke = stroke;
|
||||
this.radius = radius;
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
public MinimapMarker(){
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user