diff options
Diffstat (limited to 'source/game/StarWorldClient.cpp')
-rw-r--r-- | source/game/StarWorldClient.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/game/StarWorldClient.cpp b/source/game/StarWorldClient.cpp index 51fe883..8db6a62 100644 --- a/source/game/StarWorldClient.cpp +++ b/source/game/StarWorldClient.cpp @@ -186,6 +186,10 @@ WorldTemplateConstPtr WorldClient::currentTemplate() const { return m_worldTemplate; } +void WorldClient::setTemplate(Json newTemplate) { + m_outgoingPackets.push_back(make_shared<UpdateWorldTemplatePacket>(newTemplate)); +} + SkyConstPtr WorldClient::currentSky() const { return m_sky; } |