Add "valid" filter to prevent expired MP tankers from being appended to the tanker list.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
This commit is contained in:
parent
9db93b9d25
commit
4c63215780
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@ var update_loop = func {
|
|||
var mp = aimodelsN.getChildren("multiplayer");
|
||||
|
||||
foreach (var a; ac ~ mp) {
|
||||
if (!a.getNode("valid", 1).getValue())
|
||||
continue;
|
||||
if (!a.getNode("tanker", 1).getValue())
|
||||
continue;
|
||||
if (!a.getNode("refuel/contact", 1).getValue())
|
||||
|
|
Loading…
Add table
Reference in a new issue