mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-20 19:49:29 +07:00
Various fixes
This commit is contained in:
parent
1ef546b578
commit
685f915656
Binary file not shown.
@ -204,8 +204,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
||||
|
||||
@Remote(targets = Loc.both, called = Loc.server, forward = true)
|
||||
public static void onUnitCommand(Playerc player){
|
||||
//no free core teleports?
|
||||
if(!player.dead() || !(player.unit() instanceof Commanderc)) return;
|
||||
if(player.dead() || !(player.unit() instanceof Commanderc)) return;
|
||||
|
||||
Commanderc commander = (Commanderc)player.unit();
|
||||
|
||||
|
@ -324,7 +324,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
|
||||
stable.row();
|
||||
|
||||
if((sector.hasBase() && mode == look) || canLaunch(sector)){
|
||||
if((sector.hasBase() && mode == look) || canLaunch(sector) || sector.preset.alwaysUnlocked){
|
||||
stable.button(sector.hasBase() ? "Resume" : "Launch", Styles.transt, () -> {
|
||||
if(sector.is(SectorAttribute.naval)){
|
||||
ui.showInfo("You need a naval loadout to launch here.");
|
||||
|
Loading…
Reference in New Issue
Block a user