File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
runner/src/main/java/com/codingame/gameengine/runner Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -451,10 +451,10 @@ public GameConfig findConfig(Path rootDir) throws IOException {
451451 for (String leagueKey : questionsConfig .keySet ()) {
452452 QuestionConfig questionConfig = questionsConfig .get (leagueKey );
453453 questionConfig .merge (defaultConfig );
454- questionConfig .configDetected = isPresentConfigIni (gameConfig , questionConfig );
454+ questionConfig .configDetected = isPresentConfigIni (questionConfig );
455455 }
456456 } else {
457- defaultConfig .configDetected = isPresentConfigIni (gameConfig , defaultConfig );
457+ defaultConfig .configDetected = isPresentConfigIni (defaultConfig );
458458 }
459459
460460 MutableInt soloQuestions = new MutableInt ();
@@ -500,7 +500,7 @@ public GameConfig findConfig(Path rootDir) throws IOException {
500500 return gameConfig ;
501501 }
502502
503- private boolean isPresentConfigIni (GameConfig gameConfig , QuestionConfig questionConfig ) {
503+ private boolean isPresentConfigIni (QuestionConfig questionConfig ) {
504504 return questionConfig .minPlayers != null || questionConfig .maxPlayers != null ;
505505 }
506506}
You can’t perform that action at this time.
0 commit comments