Show total cargo packets in dump_cpdp_stats console command output

This commit is contained in:
Jonathan G Rennison
2023-09-10 16:12:33 +01:00
parent c6ce9ce687
commit b09894db4f

View File

@@ -94,6 +94,7 @@ void DumpCargoPacketDeferredPaymentStats(char *buffer, const char *last)
} }
} }
buffer += seprintf(buffer, last, "Deferred payment count: %u\n", (uint) _cargo_packet_deferred_payments.size()); buffer += seprintf(buffer, last, "Deferred payment count: %u\n", (uint) _cargo_packet_deferred_payments.size());
buffer += seprintf(buffer, last, "Total cargo packets: %u\n", (uint)CargoPacket::GetNumItems());
} }
/** /**