Skip to content

Commit ef4d515

Browse files
committed
Minor Serpulo tech changes / Removed debug hidden keybind for map editor
1 parent 124f7cb commit ef4d515

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

core/src/mindustry/content/SerpuloTechTree.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public static void load(){
399399
});
400400
});
401401

402-
node(navalFactory, Seq.with(new SectorComplete(ruinousShores)), () -> {
402+
node(navalFactory, Seq.with(new OnSector(windsweptIslands)), () -> {
403403
node(risso, () -> {
404404
node(minke, () -> {
405405
node(bryde, () -> {

core/src/mindustry/editor/MapEditorDialog.java

-22
Original file line numberDiff line numberDiff line change
@@ -695,28 +695,6 @@ private void doInput(){
695695
editor.undo();
696696
}
697697

698-
//more undocumented features, fantastic
699-
if(Core.input.keyTap(KeyCode.t)){
700-
701-
//clears all 'decoration' from the map
702-
for(int x = 0; x < editor.width(); x++){
703-
for(int y = 0; y < editor.height(); y++){
704-
Tile tile = editor.tile(x, y);
705-
if(tile.block().breakable && tile.block() instanceof Prop){
706-
tile.setBlock(Blocks.air);
707-
editor.renderer.updatePoint(x, y);
708-
}
709-
710-
if(tile.overlay() != Blocks.air && tile.overlay() != Blocks.spawn){
711-
tile.setOverlay(Blocks.air);
712-
editor.renderer.updatePoint(x, y);
713-
}
714-
}
715-
}
716-
717-
editor.flushOp();
718-
}
719-
720698
if(Core.input.keyTap(KeyCode.y)){
721699
editor.redo();
722700
}

0 commit comments

Comments
 (0)