aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/game.cpp2
-rw-r--r--src/client/render/plain.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index 8ab8dd135..fd6a11563 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -1204,8 +1204,6 @@ void Game::run()
processQueues();
m_game_ui->clearInfoText();
- hud->resizeHotbar();
-
updateProfilers(stats, draw_times, dtime);
processUserInput(dtime);
diff --git a/src/client/render/plain.cpp b/src/client/render/plain.cpp
index 88d2f9b19..11378b165 100644
--- a/src/client/render/plain.cpp
+++ b/src/client/render/plain.cpp
@@ -49,6 +49,8 @@ void DrawHUD::run(PipelineContext &context)
if (context.shadow_renderer)
context.shadow_renderer->drawDebug();
+ context.hud->resizeHotbar();
+
if (context.draw_crosshair)
context.hud->drawCrosshair();