Skip to content

Commit

Permalink
CmdrManagement v1.3.4 - Fixes compilation error
Browse files Browse the repository at this point in the history
- Fixes error introduced by quest to get rid of warnings
  • Loading branch information
data-bomb authored Jan 6, 2024
1 parent 6c8a174 commit efbc844
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Si_CommManagement/Si_CmdrMgr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit efbc844

Please sign in to comment.