Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Commit

Permalink
server现在能够正常退出
Browse files Browse the repository at this point in the history
  • Loading branch information
junbao-zhou committed May 16, 2020
1 parent 9ba11c9 commit e09452b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion logic/Logic.Server/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions logic/THUnity2D/GameObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public Vector Velocity
}
}
});
_movingThread.IsBackground = true;
_movingThread.Start();
}
lock (_velocityLock)
Expand Down
2 changes: 1 addition & 1 deletion runAgent.bat
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion runServer.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
logic\Logic.Server\bin\Release\netcoreapp3.0\Logic.Server.exe --port 20000 --debugLevel 1 --playerCount 2 --agentCount 2 --gameTime 600
logic\Logic.Server\bin\Release\netcoreapp3.0\Logic.Server.exe --port 20000 --debugLevel 1 --playerCount 1 --agentCount 1 --gameTime 600

0 comments on commit e09452b

Please sign in to comment.