gui/menubar.xml: always open mpcarriers dialogue.
Avoids need to retry opening dialogue after getting 'Found no MPCarriers for activated carrier AI scenarios within range' diagnostic.
This commit is contained in:
parent
8efa938ace
commit
c984ac4021
1 changed files with 5 additions and 5 deletions
|
@ -633,11 +633,11 @@
|
|||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if (contains(globals, "MPCarriers")) {
|
||||
MPCarriers.carrier_dialog.show();
|
||||
} else {
|
||||
gui.popupTip("Found no MPCarriers for activated carrier AI scenarios within range.", 5.0);
|
||||
}
|
||||
if (!contains(globals, "MPCarriers")) {
|
||||
var base = "Aircraft/MPCarrier/Systems/MPCarriers.nas";
|
||||
io.load_nasal(resolvepath(base), "MPCarriers");
|
||||
}
|
||||
MPCarriers.carrier_dialog.show();
|
||||
</script>
|
||||
</binding>
|
||||
</item>
|
||||
|
|
Loading…
Add table
Reference in a new issue