1
0
Fork 0

- Alexis Bory: As seen previously with Till, the nasty F-14 radar brakes multiplayer.dialog.show() unless we better test the "valid" node.

This commit is contained in:
abory 2008-10-02 20:12:00 +00:00
parent 1f6a12a0f6
commit 8fcaaf4491

View file

@ -291,7 +291,7 @@ var dialog = {
var loc = geo.aircraft_position();
var players = 0;
foreach(var c; children) {
if (!c.getNode("valid").getValue())
if ( c.getNode("valid") == nil or !c.getNode("valid").getValue())
continue;
players+=1;
var ploc = me.getloc(c.getNode("position"));