Merge pull request #4903 from ihptru/dedicated-fix
dedicated fix: do not restart anymore with 1 client
This commit is contained in:
@@ -390,7 +390,7 @@ namespace OpenRA
|
|||||||
{
|
{
|
||||||
System.Threading.Thread.Sleep(100);
|
System.Threading.Thread.Sleep(100);
|
||||||
|
|
||||||
if (server.State == Server.ServerState.GameStarted && server.Conns.Count <= 1)
|
if (server.State == Server.ServerState.GameStarted && server.Conns.Count < 1)
|
||||||
{
|
{
|
||||||
Console.WriteLine("No one is playing, shutting down...");
|
Console.WriteLine("No one is playing, shutting down...");
|
||||||
server.Shutdown();
|
server.Shutdown();
|
||||||
|
|||||||
Reference in New Issue
Block a user