mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 05:51:47 -08:00
Misc bugfixes
This commit is contained in:
parent
5a2d69278b
commit
56334d9199
3 changed files with 6 additions and 2 deletions
Binary file not shown.
|
|
@ -42,9 +42,7 @@ public class SerpuloTechTree{
|
|||
node(titaniumConveyor, Seq.with(new SectorComplete(craters)), () -> {
|
||||
node(phaseConveyor, () -> {
|
||||
node(massDriver, () -> {
|
||||
node(payloadPropulsionTower, () -> {
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -293,6 +293,12 @@ public class MapEditorDialog extends Dialog implements Disposable{
|
|||
|
||||
player.clearUnit();
|
||||
|
||||
//remove player unit
|
||||
Unit unit = Groups.unit.find(u -> u.spawnedByCore);
|
||||
if(unit != null){
|
||||
unit.remove();
|
||||
}
|
||||
|
||||
Map returned = null;
|
||||
|
||||
if(name.isEmpty()){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue