From a7a0147e99eac712bf69bc42399475374668c108 Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sun, 2 Jun 2024 13:02:43 -0400 Subject: [PATCH] game: default to `8181` for the nrepl in the subtitle editor --- game/tools/subtitle_editor/subtitle_editor.cpp | 2 +- game/tools/subtitle_editor/subtitle_editor_repl_client.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/game/tools/subtitle_editor/subtitle_editor.cpp b/game/tools/subtitle_editor/subtitle_editor.cpp index 9222174ab6..687bebdb4b 100644 --- a/game/tools/subtitle_editor/subtitle_editor.cpp +++ b/game/tools/subtitle_editor/subtitle_editor.cpp @@ -197,7 +197,7 @@ void SubtitleEditor::draw_repl_options() { ImGui::Text("REPL Connected, should be good to go!"); ImGui::PopStyleColor(); } else { - if (ImGui::Button("Connect to REPL")) { + if (ImGui::Button("Connect to REPL on Port 8181")) { m_repl.connect(); if (!m_repl.is_connected()) { ImGui::PushStyleColor(ImGuiCol_Text, m_error_text_color); diff --git a/game/tools/subtitle_editor/subtitle_editor_repl_client.cpp b/game/tools/subtitle_editor/subtitle_editor_repl_client.cpp index b5da6cc568..57b3c83706 100644 --- a/game/tools/subtitle_editor/subtitle_editor_repl_client.cpp +++ b/game/tools/subtitle_editor/subtitle_editor_repl_client.cpp @@ -8,9 +8,6 @@ SubtitleEditorReplClient::SubtitleEditorReplClient() { int port = 8181; - if (g_game_version == GameVersion::Jak2) { - port = 8182; - } m_repl = std::make_unique(port); }