diff --git a/logic/Logic.Server/Properties/launchSettings.json b/logic/Logic.Server/Properties/launchSettings.json index 50564de..1d4fc51 100644 --- a/logic/Logic.Server/Properties/launchSettings.json +++ b/logic/Logic.Server/Properties/launchSettings.json @@ -2,7 +2,7 @@ "profiles": { "Logic.Server": { "commandName": "Project", - "commandLineArgs": " --port 20000 --debugLevel 1 --playerCount 2 --agentCount 1 --gameTime 600" + "commandLineArgs": " --port 20000 --debugLevel 1 --playerCount 1 --agentCount 1 --gameTime 600" }, "Docker": { "commandName": "Docker" diff --git a/logic/THUnity2D/GameObject.cs b/logic/THUnity2D/GameObject.cs index ff4e635..bf98a29 100644 --- a/logic/THUnity2D/GameObject.cs +++ b/logic/THUnity2D/GameObject.cs @@ -197,6 +197,7 @@ public Vector Velocity } } }); + _movingThread.IsBackground = true; _movingThread.Start(); } lock (_velocityLock) diff --git a/runAgent.bat b/runAgent.bat index 7399865..b270836 100644 --- a/runAgent.bat +++ b/runAgent.bat @@ -1 +1 @@ -communication\Agent\bin\Release\netcoreapp3.0\Communication.Agent.exe --server 127.0.0.1:20000 --port 30000 --debugLevel 0 --playercount 2 --timelimit 25 +communication\Agent\bin\Release\netcoreapp3.0\Communication.Agent.exe --server 127.0.0.1:20000 --port 30000 --debugLevel 0 --playercount 1 --timelimit 25 diff --git a/runServer.bat b/runServer.bat index a2f972a..52ffb6e 100644 --- a/runServer.bat +++ b/runServer.bat @@ -1 +1 @@ -logic\Logic.Server\bin\Release\netcoreapp3.0\Logic.Server.exe --port 20000 --debugLevel 1 --playerCount 2 --agentCount 2 --gameTime 600 \ No newline at end of file +logic\Logic.Server\bin\Release\netcoreapp3.0\Logic.Server.exe --port 20000 --debugLevel 1 --playerCount 1 --agentCount 1 --gameTime 600 \ No newline at end of file