Various fixes

This commit is contained in:
Anuken 2020-06-05 18:03:57 -04:00
parent 1ef546b578
commit 685f915656
3 changed files with 2 additions and 3 deletions

Binary file not shown.

View File

@ -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();

View File

@ -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.");