- 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:
parent
1f6a12a0f6
commit
8fcaaf4491
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Reference in a new issue