diff --git a/Nasal/volcano.nas b/Nasal/volcano.nas index 04c126d45..44c3d1884 100644 --- a/Nasal/volcano.nas +++ b/Nasal/volcano.nas @@ -44,8 +44,8 @@ var volcano_manager = { var state = getprop("/environment/volcanoes/enable-volcanoes"); me.active = state; if (state == 1) - {print("Volcanic activity on.");} - else {print ("Volcanic activity off.");} + {logprint(LOG_INFO, "Volcanic activity on.");} + else {logprint(LOG_DEBUG, "Volcanic activity off.");} }, set_state: func { @@ -53,10 +53,10 @@ var volcano_manager = { me.active = state; if (state == 1) { - print("Volcanic activity on."); + logprint(LOG_INFO, "Volcanic activity on."); me.run(0); } - else {print ("Volcanic activity off.");} + else {logprint(LOG_INFO, "Volcanic activity off.");} }, @@ -80,7 +80,7 @@ var volcano_manager = { if ((dist < me.dist_to_load) and (dist < visibility)) { - print("Loading ", me.volcano_array[index].name, "."); + logprint(LOG_INFO, "Loading ", me.volcano_array[index].name, "."); me.volcano_array[index].set(); me.volcano_array[index].loaded = 1; } diff --git a/gui/dialogs/location-in-air.xml b/gui/dialogs/location-in-air.xml index 5a1c681b7..b4ac780c4 100644 --- a/gui/dialogs/location-in-air.xml +++ b/gui/dialogs/location-in-air.xml @@ -46,7 +46,7 @@ var found = navinfo(type,getprop(propname)); if( found == nil or size(found) == 0 ) { - print(type, " ", getprop(propname), " NOT found"); + logrint(LOG_WARN, type, " ", getprop(propname), " NOT found"); setprop(propname, ""); setprop(freqpropname, ""); return; diff --git a/gui/dialogs/multiplayer.xml b/gui/dialogs/multiplayer.xml index 1b98dd2a5..c7c907a88 100644 --- a/gui/dialogs/multiplayer.xml +++ b/gui/dialogs/multiplayer.xml @@ -207,7 +207,6 @@ nasal