From f61b097eb3bf8f402caa0c39b5a31cd36455d321 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Wed, 14 Sep 2016 00:10:02 +0100 Subject: [PATCH] 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. --- Nasal/multiplayer.nas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Nasal/multiplayer.nas b/Nasal/multiplayer.nas index a743bf062..4a1ae87b2 100644 --- a/Nasal/multiplayer.nas +++ b/Nasal/multiplayer.nas @@ -282,8 +282,10 @@ var dialog = { foreach (var mp; model.list) { var col = 0; 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[1]; + } else{ print("no model installed; check fallback"); var fbn = mp.node.getNode("sim/model/fallback-model-index");