Update pilot list to use ignore property for AI objects
This commit is contained in:
parent
74f70ee3e4
commit
b53c16db1d
1 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@ var dialog = {
|
|||
{ type: "text", property: "bearing-to", format: " %3.0f", label: "----", halign: "right", font: font },
|
||||
{ type: "text", property: func dialog.dist_node, format:" %8.2f", label: "---------", halign: "right", font: font },
|
||||
{ type: "text", property: func dialog.alt_node, format:" %7.0f", label: "---------", halign: "right", font: font },
|
||||
{ type: "checkbox", property: "sim/multiplay/ignore", callback: "multiplayer.dialog.toggle_ignore",
|
||||
{ type: "checkbox", property: "controls/invisible", callback: "multiplayer.dialog.toggle_ignore",
|
||||
argprop: "callsign", label: "---------", halign: "right", font: font },
|
||||
];
|
||||
me.name = "who-is-online";
|
||||
|
@ -285,7 +285,7 @@ var dialog = {
|
|||
"distance-to-km": distance / 1000.0,
|
||||
"distance-to-nm": distance * M2NM,
|
||||
"position/altitude-m": n.getNode("position/altitude-ft").getValue() * FT2M,
|
||||
"sim/multiplay/ignore": contains(ignore, mp.callsign),
|
||||
"controls/invisible": contains(ignore, mp.callsign),
|
||||
});
|
||||
}
|
||||
if (PILOTSDLG_RUNNING)
|
||||
|
|
Loading…
Add table
Reference in a new issue