mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-15 19:30:51 -07:00
Bugfixes
This commit is contained in:
parent
969b70d512
commit
6c42dff884
4 changed files with 11 additions and 3 deletions
|
|
@ -585,7 +585,7 @@ objective.destroyunits = [accent]Destroy: [][lightgray]{0}[]x Units
|
|||
objective.enemiesapproaching = [accent]Enemies approaching in [lightgray]{0}[]
|
||||
objective.destroycore = [accent]Destroy Enemy Core
|
||||
objective.command = [accent]Command Units
|
||||
objective.nuclearlaunch = [accent]\u26a0 Nuclear launch detected:\n[lightgray]{0}
|
||||
objective.nuclearlaunch = [accent]\u26a0 Nuclear launch detected: [lightgray]{0}
|
||||
|
||||
loadout = Loadout
|
||||
resources = Resources
|
||||
|
|
|
|||
|
|
@ -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(){
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue