From e925eb97e19ef6b8710c26bb862eacbda02257d5 Mon Sep 17 00:00:00 2001 From: Ada <60364512+GreatArgorath@users.noreply.github.com> Date: Sat, 16 Apr 2022 13:40:30 +0100 Subject: [PATCH] Makes text speed adjustable via a slider --- libultraship/libultraship/SohImGuiImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libultraship/libultraship/SohImGuiImpl.cpp b/libultraship/libultraship/SohImGuiImpl.cpp index caea0abd1..4edd5f2f7 100644 --- a/libultraship/libultraship/SohImGuiImpl.cpp +++ b/libultraship/libultraship/SohImGuiImpl.cpp @@ -380,6 +380,7 @@ namespace SohImGui { ImGui::Text("Text Speed", Game::Settings.enhancements.text_speed); if (ImGui::SliderInt("##TEXTSPEED", &Game::Settings.enhancements.text_speed, 1, 5)) { + CVar_SetS32("gTextSpeed", Game::Settings.enhancements.text_speed); needs_save = true; }