1
0
Fork 0

Nasal/multiplayer.nas: disable 'no model installed' messages.

This commit is contained in:
Julian Smith 2019-08-18 16:27:29 +01:00
parent c4d71f06e0
commit 0f741b16fe

View file

@ -297,15 +297,15 @@ var dialog = {
color = me.fg[1]; color = me.fg[1];
} }
else{ else{
print("no model installed; check fallback"); #print("no model installed; check fallback");
var fbn = mp.node.getNode("sim/model/fallback-model-index"); var fbn = mp.node.getNode("sim/model/fallback-model-index");
if (fbn != nil){ if (fbn != nil){
print(" ->> got fallback node =",fbn.getValue()); #print(" ->> got fallback node =",fbn.getValue());
if (fbn.getValue() > 0) { if (fbn.getValue() > 0) {
color = me.fg[3]; color = me.fg[3];
} }
} else } else
print(" ->> no fallback node"); #print(" ->> no fallback node");
} }
foreach (var column; me.columns) { foreach (var column; me.columns) {
var w = nil; var w = nil;