Skip to content

Commit

Permalink
Removing Debugging Messages from Cmdr Management
Browse files Browse the repository at this point in the history
- Removes three debug messages from the commander management mod
  • Loading branch information
data-bomb committed Jul 13, 2024
1 parent 960e966 commit a2fa4be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions Si_CommManagement/CommanderApplications.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,13 +267,11 @@ private static class CommanderManager_Patch_Strategy_TimerUpdate
{
private static void Postfix(MP_Strategy __instance)
{
MelonLogger.Msg("Hit RPC_TimerUpdate");
if (!CommanderManager._BlockRoundStartUntilEnoughApplicants.Value)
{
return;
}

MelonLogger.Msg("Checking applicants");
if (AllTeamsHaveCommanderApplicants())
{
return;
Expand All @@ -289,7 +287,6 @@ private static void Postfix(MP_Strategy __instance)
timerValue = (float)timerField.GetValue(__instance);
#endif

MelonLogger.Msg("timer value: " + timerValue.ToString());
if (timerValue <= 5f && timerValue > 4f)
{
HelperMethods.ReplyToCommand("Round cannot start because all teams don't have a commander. Chat !commander to apply.");
Expand Down
2 changes: 1 addition & 1 deletion Si_CommManagement/Si_CommanderManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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.6.10", "databomb", "https://github.com/data-bomb/Silica")]
[assembly: MelonInfo(typeof(CommanderManager), "Commander Management", "1.6.11", "databomb", "https://github.com/data-bomb/Silica")]
[assembly: MelonGame("Bohemia Interactive", "Silica")]
[assembly: MelonOptionalDependencies("Admin Mod")]

Expand Down

0 comments on commit a2fa4be

Please sign in to comment.