Skip to content

Commit

Permalink
fix: no worldspace in interiors
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragonisser committed May 14, 2022
1 parent 1a736a3 commit 3406433
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/client/Services/Generic/TransportService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ void TransportService::OnConnected()
}

auto& modSystem = m_world.GetModSystem();
modSystem.GetServerModId(pPlayer->GetWorldSpace()->formID, request.WorldSpaceId);
if (pPlayer->GetWorldSpace())
modSystem.GetServerModId(pPlayer->GetWorldSpace()->formID, request.WorldSpaceId);

modSystem.GetServerModId(pPlayer->parentCell->formID, request.CellId);

request.Level = pPlayer->GetLevel();
Expand Down

0 comments on commit 3406433

Please sign in to comment.