From efbc8448fd61d1e5ea749c6deabfb73a0b97f6e6 Mon Sep 17 00:00:00 2001 From: data-bomb Date: Fri, 5 Jan 2024 18:59:33 -0800 Subject: [PATCH] CmdrManagement v1.3.4 - Fixes compilation error - Fixes error introduced by quest to get rid of warnings --- Si_CommManagement/Si_CmdrMgr.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Si_CommManagement/Si_CmdrMgr.cs b/Si_CommManagement/Si_CmdrMgr.cs index ded5630..d027f4e 100644 --- a/Si_CommManagement/Si_CmdrMgr.cs +++ b/Si_CommManagement/Si_CmdrMgr.cs @@ -40,7 +40,7 @@ You should have received a copy of the GNU General Public License using SilicaAdminMod; using System.Linq; -[assembly: MelonInfo(typeof(CommanderManager), "Commander Management", "1.3.3", "databomb", "https://github.com/data-bomb/Silica")] +[assembly: MelonInfo(typeof(CommanderManager), "Commander Management", "1.3.4", "databomb", "https://github.com/data-bomb/Silica")] [assembly: MelonGame("Bohemia Interactive", "Silica")] [assembly: MelonOptionalDependencies("Admin Mod")] @@ -145,7 +145,6 @@ public override void OnInitializeMelon() CommanderManager.teamswapCommanderChecks = new Player[MaxTeams]; CommanderManager.promotedCommanders = new Player[MaxTeams]; - promotedSequenceStarted = false; bOnGameInitFired = false; } catch (Exception error) @@ -308,8 +307,6 @@ public static void Postfix(MusicJukeboxHandler __instance, GameMode __0) System.Random randomIndex = new System.Random(); Player? RemovePlayer = null; - promotedSequenceStarted = true; - for (int i = 0; i < MaxTeams; i++) { if (commanderApplicants[i].Count == 0)