1
0
Fork 0

Reduce log noise for non-developers

This commit is contained in:
James Turner 2021-02-05 10:34:59 +00:00
parent d723894ae8
commit cdb151eb88

View file

@ -192,13 +192,13 @@ foreach (var t; tNode) {
{
var gen_flag = tNode[i_min].getNode("generated-flag").getValue();
if (gen_flag != 2){
print("Tile direction ",i_min, " not generated!");
print("Flag: ",gen_flag);
}
if (gen_flag != 2) {
logprint(DEV_WARN, "Tile direction ",i_min, " not generated!");
logprint(DEV_WARN, "Flag: ",gen_flag);
}
if (local_weather.debug_output_flag == 1)
{print("Changing active tile to direction ", i_min);}
{logprint(LOG_DEBUG, "Changing active tile to direction ", i_min);}
change_active_tile(i_min);
}