Bugfixes / Bundles updated

This commit is contained in:
Anuken
2019-09-26 15:41:42 -04:00
parent e15b6e7cff
commit 10ddb5f361
26 changed files with 770 additions and 256 deletions

View File

@@ -38,7 +38,7 @@ public abstract class FlyingUnit extends BaseUnit{
if(target == null) targetClosestEnemyFlag(BlockFlag.turret);
}
if(getClosestSpawner() == null && getSpawner() != null){
if(getClosestSpawner() == null && getSpawner() != null && target == null){
target = getSpawner();
circle(80f + Mathf.randomSeed(id) * 120);
}else if(target != null){

View File

@@ -75,7 +75,7 @@ public class PausedDialog extends FloatingDialog{
cont.addButton("$quit", this::showQuitConfirm).colspan(2).width(dw + 10f).update(s -> s.setText(control.saves.getCurrent() != null && control.saves.getCurrent().isAutosave() ? "$save.quit" : "$quit"));
}else{
cont.defaults().size(120f).pad(5);
cont.defaults().size(130f).pad(5);
cont.addRowImageTextButton("$back", Icon.play2, this::hide);
cont.addRowImageTextButton("$settings", Icon.tools, ui.settings::show);

View File

@@ -62,7 +62,7 @@ public class ChatFragment extends Table{
update(() -> {
if(net.active() && input.keyTap(Binding.chat)){
if(net.active() && input.keyTap(Binding.chat) && (scene.getKeyboardFocus() == chatfield || scene.getKeyboardFocus() == null)){
toggle();
}