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

summaryrefslogtreecommitdiff
path: root/source/game/StarUniverseClient.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-03 18:31:12 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-03 18:31:12 +1000
commitdeb96742e020be5e83314a5a28ddba3c96df6f6e (patch)
tree84a3e2fe6b0fd852c14a50a82a21c2b352291801 /source/game/StarUniverseClient.cpp
parent1dacc0f41ad04a75e9fa3ca2bb6289aac57b68a7 (diff)
Prevent particle copy, tweak debugging some more
probably not too time-saving
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));
}
}