diff --git a/EliteBGS/LogGenerator/VoucherFormat.cs b/EliteBGS/LogGenerator/VoucherFormat.cs index 4f16fbf..23c0fe2 100644 --- a/EliteBGS/LogGenerator/VoucherFormat.cs +++ b/EliteBGS/LogGenerator/VoucherFormat.cs @@ -19,8 +19,8 @@ public class VoucherFormat : LogFormatter { } foreach (var m in missions) { - ulong total = (ulong)m.Value.Sum(x => (decimal)x.TotalSum); - builder.AppendFormat("Handed in {0} vouchers: {1}\n", m.Key, Credits.FormatCredits(total)); + long total = (long)m.Value.Sum(x => (decimal)x.TotalSum); + builder.AppendFormat("Handed in {0} vouchers: {1}\n", m.Key, Credits.FormatMillions(total)); } return builder.ToString().Trim();