mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Fixup to allow the threads access flag via making it public
Also adds fixup to build script
This commit is contained in:
parent
37cb2e38f6
commit
9e0b970ff9
2 changed files with 5 additions and 5 deletions
|
|
@ -82,7 +82,7 @@ public class ComputerPlayer extends PlayerImpl {
|
|||
// * use your's CPU cores for best performance
|
||||
// TODO: add server config to control max AI threads (with CPU cores by default)
|
||||
// TODO: rework AI implementation to use multiple sims calculation instead one by one
|
||||
final static int COMPUTER_MAX_THREADS_FOR_SIMULATIONS = 5;//DebugUtil.AI_ENABLE_DEBUG_MODE ? 1 : 5;
|
||||
public final static int COMPUTER_MAX_THREADS_FOR_SIMULATIONS = DebugUtil.AI_ENABLE_DEBUG_MODE ? 1 : 5;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@ print "Start compiling...\n";
|
|||
chdir("..");
|
||||
system("mvn clean install package -DskipTests");
|
||||
chdir("Mage.Client");
|
||||
system("mvn assembly:assembly");
|
||||
system("mvn assembly:single");
|
||||
chdir("../Mage.Server");
|
||||
system("mvn assembly:assembly");
|
||||
system("mvn assembly:single");
|
||||
chdir("../Mage.Server.Console");
|
||||
system("mvn assembly:assembly");
|
||||
system("mvn assembly:single");
|
||||
chdir("..");
|
||||
mkdir("temp");
|
||||
chdir("temp");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue