From ac6147e4a07ebe342f0d4de3c5ec047bd541deb6 Mon Sep 17 00:00:00 2001 From: Evil Factory <36804725+evilfactory@users.noreply.github.com> Date: Fri, 10 Apr 2026 22:36:29 -0300 Subject: [PATCH] Fix Cs prompt showing up more than one between rounds --- Barotrauma/BarotraumaClient/ClientSource/LuaCs/LuaCsSetup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaClient/ClientSource/LuaCs/LuaCsSetup.cs b/Barotrauma/BarotraumaClient/ClientSource/LuaCs/LuaCsSetup.cs index 023f8fc45..476aeede7 100644 --- a/Barotrauma/BarotraumaClient/ClientSource/LuaCs/LuaCsSetup.cs +++ b/Barotrauma/BarotraumaClient/ClientSource/LuaCs/LuaCsSetup.cs @@ -160,7 +160,7 @@ namespace Barotrauma case SubEditorScreen: case TestScreen: // notes: TestScreen is a Linux edge case editor screen and is deprecated. - if (screen is NetLobbyScreen) + if (screen is NetLobbyScreen && CurrentRunState != RunState.Running) { PromptCSharpMods(selection => {