Nasal/multiplayer.nas: In Pilots list, use only one colour (white) for pilots for whom we have a model.
I think the previous alternating colours were confusing because of the use of a third and fourth colour for when we have no model or are using a fallback model.
This commit is contained in:
parent
82f3eb45b9
commit
f61b097eb3
1 changed files with 3 additions and 1 deletions
|
@ -282,8 +282,10 @@ var dialog = {
|
||||||
foreach (var mp; model.list) {
|
foreach (var mp; model.list) {
|
||||||
var col = 0;
|
var col = 0;
|
||||||
var color = me.fg[2];
|
var color = me.fg[2];
|
||||||
if (mp.node.getNode("model-installed").getValue())
|
if (mp.node.getNode("model-installed").getValue()) {
|
||||||
color = me.fg[odd = !odd];
|
color = me.fg[odd = !odd];
|
||||||
|
color = me.fg[1];
|
||||||
|
}
|
||||||
else{
|
else{
|
||||||
print("no model installed; check fallback");
|
print("no model installed; check fallback");
|
||||||
var fbn = mp.node.getNode("sim/model/fallback-model-index");
|
var fbn = mp.node.getNode("sim/model/fallback-model-index");
|
||||||
|
|
Loading…
Reference in a new issue