dev: enabled server's test mode by default in developer builds (example: fast games, deck valid skip, cheats, etc)

This commit is contained in:
Oleg Agafonov 2023-05-09 00:53:53 +04:00
parent bc79b5f5d1
commit 013f14c699

View file

@ -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)) final String configPath = Optional.ofNullable(System.getProperty(configPathProp))
.orElse(defaultConfigPath); .orElse(defaultConfigPath);