Update StarUniverseClient.cpp

This commit is contained in:
Kae 2024-12-19 20:03:51 +11:00
parent 63903276e5
commit 0a506401aa

View File

@ -313,7 +313,7 @@ void UniverseClient::update(float dt) {
{"mode", PlayerModeNames.getRight(m_mainPlayer->modeType())} {"mode", PlayerModeNames.getRight(m_mainPlayer->modeType())}
}); });
m_mainPlayer->setPendingCinematic(Json(std::move(cinematic))); m_mainPlayer->setPendingCinematic(Json(std::move(cinematic)));
if (!m_worldClient->respawnInWorld()) if (!playerOnOwnShip() && !m_worldClient->respawnInWorld())
m_pendingWarp = WarpAlias::OwnShip; m_pendingWarp = WarpAlias::OwnShip;
m_warpDelay.reset(); m_warpDelay.reset();
} }