1
0
Fork 0

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:
Julian Smith 2016-09-14 00:10:02 +01:00 committed by Julian Smith
parent 82f3eb45b9
commit f61b097eb3

View file

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