Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarUniverseClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarUniverseClient.cpp')
-rw-r--r--source/game/StarUniverseClient.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/game/StarUniverseClient.cpp b/source/game/StarUniverseClient.cpp
index e025517..783c5d3 100644
--- a/source/game/StarUniverseClient.cpp
+++ b/source/game/StarUniverseClient.cpp
@@ -279,12 +279,12 @@ void UniverseClient::update() {
m_celestialDatabase->cleanup();
if (auto netStats = m_connection->incomingStats()) {
- LogMap::set("client_incoming_bps", netStats->bytesPerSecond);
- LogMap::set("client_worst_incoming", strf("{}:{}", PacketTypeNames.getRight(netStats->worstPacketType), netStats->worstPacketSize));
+ LogMap::set("net_incoming_bps", netStats->bytesPerSecond);
+ LogMap::set("net_worst_incoming", strf("{}:{}", PacketTypeNames.getRight(netStats->worstPacketType), netStats->worstPacketSize));
}
if (auto netStats = m_connection->outgoingStats()) {
- LogMap::set("client_outgoing_bps", netStats->bytesPerSecond);
- LogMap::set("client_worst_outgoing",
+ LogMap::set("net_outgoing_bps", netStats->bytesPerSecond);
+ LogMap::set("net_worst_outgoing",
strf("{}:{}", PacketTypeNames.getRight(netStats->worstPacketType), netStats->worstPacketSize));
}
}