diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-07-27 14:09:12 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-07-27 14:09:12 +1000 |
commit | 951fe787c437d43982f5eda77e1f19bf83998bfd (patch) | |
tree | d2e0c9a57451be75a968fedb6b7c407911ffbef4 /source/game/StarWorldClient.cpp | |
parent | 9e7a2e9bb9976a0f23fad5c0c91b151ffa2db24c (diff) |
Networking changes (needs P2P testing, requires clients to update unfortunately)
Diffstat (limited to 'source/game/StarWorldClient.cpp')
-rw-r--r-- | source/game/StarWorldClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarWorldClient.cpp b/source/game/StarWorldClient.cpp index 9e0478a..fba94f3 100644 --- a/source/game/StarWorldClient.cpp +++ b/source/game/StarWorldClient.cpp @@ -751,7 +751,7 @@ void WorldClient::handleIncomingPackets(List<PacketPtr> const& packets) { for (auto const& packet : packets) { if (!inWorld() && !is<WorldStartPacket>(packet)) - Logger::error("WorldClient received packet type {} while not in world", PacketTypeNames.getRight(packet->type())); + Logger::error("WorldClient received packet type {} while not in world", packet->typeName()); if (auto worldStartPacket = as<WorldStartPacket>(packet)) { initWorld(*worldStartPacket); |