From b841dee7ad92f161460994b56ab4083c26212650 Mon Sep 17 00:00:00 2001 From: EvilFactory Date: Mon, 6 Nov 2023 20:28:24 -0300 Subject: [PATCH] Fixed Initialize being called instead of CheckInitialized if you downloaded mods from the mod screen --- .../ClientSource/Screens/ModDownloadScreen.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Barotrauma/BarotraumaClient/ClientSource/Screens/ModDownloadScreen.cs b/Barotrauma/BarotraumaClient/ClientSource/Screens/ModDownloadScreen.cs index e302f4907..207d259df 100644 --- a/Barotrauma/BarotraumaClient/ClientSource/Screens/ModDownloadScreen.cs +++ b/Barotrauma/BarotraumaClient/ClientSource/Screens/ModDownloadScreen.cs @@ -1,4 +1,4 @@ -#nullable enable +#nullable enable using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; @@ -364,7 +364,7 @@ namespace Barotrauma } GameMain.NetLobbyScreen.UpdateSubList(GameMain.NetLobbyScreen.SubList, GameMain.Client.ServerSubmarines); GameMain.NetLobbyScreen.Select(); - GameMain.LuaCs.Initialize(); + GameMain.LuaCs.CheckInitialize(); } } }