diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-22 06:07:59 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-22 06:07:59 +1000 |
commit | ca1426eabc873f781eb0dd389d45634b7d183250 (patch) | |
tree | 15ea83658ca3824232f14fe4b32ec714e0aa05c6 /source/game/StarWorldClient.cpp | |
parent | d5f5fb5ddf0d4a9f0b0e6ac012121926d2fcd949 (diff) |
Lua chat callbacks + better font styling
golly gee whiz!! i hope i didn't fuck something up
Diffstat (limited to 'source/game/StarWorldClient.cpp')
-rw-r--r-- | source/game/StarWorldClient.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/game/StarWorldClient.cpp b/source/game/StarWorldClient.cpp index eaea2b2..5f7e028 100644 --- a/source/game/StarWorldClient.cpp +++ b/source/game/StarWorldClient.cpp @@ -1734,6 +1734,7 @@ void WorldClient::initWorld(WorldStartPacket const& startPacket) { m_entityUpdateTimer = GameTimer(m_interpolationTracker.entityUpdateDelta()); m_clientId = startPacket.clientId; + m_mainPlayer->clientContext()->setConnectionId(startPacket.clientId); auto entitySpace = connectionEntitySpace(startPacket.clientId); m_worldTemplate = make_shared<WorldTemplate>(startPacket.templateData); m_entityMap = make_shared<EntityMap>(m_worldTemplate->size(), entitySpace.first, entitySpace.second); |