mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00:00
dev: enabled server's test mode by default in developer builds (example: fast games, deck valid skip, cheats, etc)
This commit is contained in:
parent
bc79b5f5d1
commit
013f14c699
1 changed files with 3 additions and 0 deletions
|
@ -97,6 +97,9 @@ public final class Main {
|
|||
}
|
||||
}
|
||||
|
||||
// enable test mode by default for developer build (if you run it from source code)
|
||||
testMode |= version.isDeveloperBuild();
|
||||
|
||||
final String configPath = Optional.ofNullable(System.getProperty(configPathProp))
|
||||
.orElse(defaultConfigPath);
|
||||
|
||||
|
|
Loading…
Reference in a new issue