Skip to content

Commit

Permalink
[DebugOverlay] Now displaying current dimension ID.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Mar 8, 2020
1 parent 58ef40b commit a54ffa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/source/hud/DebugOverlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ void DebugOverlay::update() {
stream << '\n';
stream << "dir: " << direction << " (" << m_player.cameraYaw() << ")";
stream << '\n';
stream << "dimension: " << m_player.dimension();
stream << '\n';
stream << "Loaded chunks: " << m_world.loadedChunkCount();

m_positionText.setText(stream.str());
Expand Down

0 comments on commit a54ffa3

Please sign in to comment.