Code cleanup.

This commit is contained in:
2023-01-27 17:30:10 +08:00
parent 130896df1f
commit c4b139c7a4
4 changed files with 6 additions and 6 deletions

View File

@@ -103,7 +103,7 @@ namespace Cryville.Crtr {
static Type GetComponentByName(string name) {
Type result;
if (GenericResources.Components.TryGetValue(name, out result)) return result;
throw new ArgumentException(string.Format("Component type {0} not found", name));
throw new ArgumentException(string.Format("Component type \"{0}\" not found", name));
}
}
}