1
0
Fork 0

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:
Vivian Meazza 2010-09-11 20:48:03 +01:00
parent 9db93b9d25
commit 4c63215780

View file

@ -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())