summaryrefslogtreecommitdiffstats
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/game.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/game.cc b/src/game/client/game.cc
index 5a67b59..1681c01 100644
--- a/src/game/client/game.cc
+++ b/src/game/client/game.cc
@@ -545,7 +545,7 @@ void client_game::update(void)
auto& io = ImGui::GetIO();
io.FontGlobalScale = scale_min;
- globals::gui_scale = scale_min;
+ globals::gui_scale = static_cast<unsigned int>(scale_min);
}
void client_game::update_late(void)