From 3a54621bd8a55b672ba986f02ab094bfb4ba6faf Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 7 May 2025 04:49:52 +1000 Subject: add world.template, world.setTemplate --- source/game/StarUniverseClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/game/StarUniverseClient.cpp') diff --git a/source/game/StarUniverseClient.cpp b/source/game/StarUniverseClient.cpp index b41d19e..9a1f31b 100644 --- a/source/game/StarUniverseClient.cpp +++ b/source/game/StarUniverseClient.cpp @@ -423,7 +423,7 @@ void UniverseClient::warpPlayer(WarpAction const& warpAction, bool animate, Stri if (auto warpToWorld = warpAction.ptr()) { if (warpToWorld->world.empty() || warpToWorld->world == playerWorld()) { if (auto pos = warpToWorld->target.ptr()) { - m_mainPlayer->moveTo(*pos); // Add a little space to up + m_mainPlayer->moveTo(*pos); return; } } -- cgit v1.2.3