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

summaryrefslogtreecommitdiff
path: root/source/game/StarUniverseClient.cpp
diff options
context:
space:
mode:
authorgrbr404 <166065505+grbr404@users.noreply.github.com>2025-05-09 17:57:28 +0200
committerGitHub <noreply@github.com>2025-05-09 17:57:28 +0200
commit682267e765f6d7c8314e31056e68c498819d524c (patch)
tree2e160bda754116278090542714d7978d9e588d97 /source/game/StarUniverseClient.cpp
parent3fc211bcb8dcddd90d50b081553750573bddea7d (diff)
parent3a54621bd8a55b672ba986f02ab094bfb4ba6faf (diff)
Merge branch 'OpenStarbound:main' into main
Diffstat (limited to 'source/game/StarUniverseClient.cpp')
-rw-r--r--source/game/StarUniverseClient.cpp2
1 files changed, 1 insertions, 1 deletions
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<WarpToWorld>()) {
if (warpToWorld->world.empty() || warpToWorld->world == playerWorld()) {
if (auto pos = warpToWorld->target.ptr<SpawnTargetPosition>()) {
- m_mainPlayer->moveTo(*pos); // Add a little space to up
+ m_mainPlayer->moveTo(*pos);
return;
}
}