A few small bugfixes.

This commit is contained in:
2025-02-23 18:27:13 -05:00
parent 64a1a414a1
commit b1bea42c69
3 changed files with 10 additions and 5 deletions

View File

@ -58,17 +58,17 @@ namespace IngameScript
_builder.Append(": ");
if (Type.HasFlag(ResourceType.Ore))
{
_builder.Append(OreAmount);
_builder.Append(OreAmount.ToString("N0"));
_builder.Append(' ');
}
if (Type.HasFlag(ResourceType.Ingot))
{
_builder.Append(IngotAmount);
_builder.Append(IngotAmount.ToString("N0"));
_builder.Append(' ');
}
if (Type.HasFlag(ResourceType.Component))
{
_builder.Append(ComponentAmount);
_builder.Append(ComponentAmount.ToString("N0"));
_builder.Append(' ');
}
return _builder.ToString();