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

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldClient.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-07-27 14:52:36 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-07-27 14:52:36 +1000
commita5788e75857e0347e2e826fb2dfe3ceeaaa5cf80 (patch)
tree27a5123ec16e751f2eb2a72826ede93b9ed68b9b /source/game/StarWorldClient.cpp
parent951fe787c437d43982f5eda77e1f19bf83998bfd (diff)
Update StarNetPackets.cpp
Diffstat (limited to 'source/game/StarWorldClient.cpp')
-rw-r--r--source/game/StarWorldClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarWorldClient.cpp b/source/game/StarWorldClient.cpp
index fba94f3..9e0478a 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", packet->typeName());
+ Logger::error("WorldClient received packet type {} while not in world", PacketTypeNames.getRight(packet->type()));
if (auto worldStartPacket = as<WorldStartPacket>(packet)) {
initWorld(*worldStartPacket);