Skip to content

Commit

Permalink
Changing some Errors to Warnings. For issue #34
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisias committed Apr 19, 2023
1 parent 948603e commit 17487f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/MeshEngine/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,19 @@ internal static void Init()
}
else
{
Log.error("Could not find a model for part {0}. Part will not render for VesselDraw.", partName);
Log.warn("Could not find a model for part {0}. Part will not render for VesselDraw.", partName);
sawErrors = true;
}
}
else
{
Log.error("Could not find ConfigNode for part {0}. Part will not render for VesselDraw.", urlConfig.name);
Log.warn("Could not find ConfigNode for part {0}. Part will not render for VesselDraw.", urlConfig.name);
sawErrors = true;
}
}

Log.dbg("VesselDraw initialized");
if (sawErrors) Log.error("Some parts do not have ConfigNode entries in the game database. Some distant vessels will be missing pieces.");
if (sawErrors) Log.warn("Some parts do not have ConfigNode entries in the game database. Some distant vessels will be missing pieces.");
}

private static bool AddModelToPart(string partName, string modelPath)
Expand Down

0 comments on commit 17487f8

Please sign in to comment.