Fixed shard 0 restarting when bot is started in DEBUG mode (this shouldn't have affected anyone except me)
This commit is contained in:
@ -252,12 +252,14 @@ namespace NadekoBot.Core.Services
|
||||
|
||||
if (!statuses.Any())
|
||||
{
|
||||
#if !DEBUG
|
||||
for (var i = 0; i < _shardProcesses.Length; i++)
|
||||
{
|
||||
var p = _shardProcesses[i];
|
||||
if (p == null || p.HasExited)
|
||||
_shardStartQueue.Enqueue(i);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user