Skip to content

Commit

Permalink
Fix PeriodicCommands that broke when serverPeriodicCommands where added
Browse files Browse the repository at this point in the history
  • Loading branch information
Mag-nus committed Aug 14, 2019
1 parent 668bdfe commit 5027c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mag-Tools/Macros/PeriodicCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void timer_Tick(object sender, EventArgs e)
if (periodicCommands.Count == 0 && serverPeriodicCommands.Count == 0)
return;

int previousPendingCommandCount = (pendingCommands.Count + serverPeriodicCommands.Count);
int previousPendingCommandCount = pendingCommands.Count;

int minutesAfterMidnight = (int)(DateTime.Now - DateTime.Today).TotalMinutes;

Expand Down

0 comments on commit 5027c86

Please sign in to comment.