diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index d39528c634..14317f964a 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -837,6 +837,8 @@ sector.coastline.name = Coastline sector.navalFortress.name = Naval Fortress sector.polarAerodrome.name = Polar Aerodrome sector.atolls.name = Atolls +sector.testingGrounds.name = Testing Grounds +sector.seaPort.name = Sea Port sector.groundZero.description = The optimal location to begin once more. Low enemy threat. Few resources.\nGather as much lead and copper as possible.\nMove on. sector.frozenForest.description = Even here, closer to mountains, the spores have spread. The frigid temperatures cannot contain them forever.\n\nBegin the venture into power. Build combustion generators. Learn to use menders. @@ -862,6 +864,8 @@ sector.taintedWoods.description = WIP, map submission by Stormride_R sector.atolls.description = WIP, map submission by Stormride_R sector.infestedCanyons.description = WIP, map submission by Skeledragon sector.polarAerodrome.description = WIP, map submission by hhh i 17 +sector.testingGrounds.description = WIP, map submission by dnx2019 +sector.seaPort.description = WIP, map submission by inkognito626 sector.onset.name = The Onset sector.aegis.name = Aegis diff --git a/core/assets/maps/seaPort.msav b/core/assets/maps/seaPort.msav index 35813ec96b..dc7161aa6b 100644 Binary files a/core/assets/maps/seaPort.msav and b/core/assets/maps/seaPort.msav differ diff --git a/core/src/mindustry/input/DesktopInput.java b/core/src/mindustry/input/DesktopInput.java index 4b39263af0..01afbb7185 100644 --- a/core/src/mindustry/input/DesktopInput.java +++ b/core/src/mindustry/input/DesktopInput.java @@ -674,6 +674,15 @@ public class DesktopInput extends InputHandler{ tappedOne = false; BuildPlan plan = getPlan(cursorX, cursorY); + if(plan != null){ + //move selected to front + int index = player.unit().plans.indexOf(plan, true); + if(index != -1){ + player.unit().plans.removeIndex(index); + player.unit().plans.addFirst(plan); + } + } + if(Core.input.keyDown(Binding.break_block)){ mode = none; }else if(!selectPlans.isEmpty()){