We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8174168 commit c380f35Copy full SHA for c380f35
engine/core/src/main/java/com/codingame/gameengine/core/GameManager.java
@@ -421,7 +421,7 @@ public int getMaxTurns() {
421
* if turnMaxTime ≤ 0
422
*/
423
public void setTurnMaxTime(int turnMaxTime) throws IllegalArgumentException {
424
- if (turnMaxTime <= MIN_TURN_TIME) {
+ if (turnMaxTime < MIN_TURN_TIME) {
425
throw new IllegalArgumentException("Invalid turn max time : stay above 50ms");
426
} else if (turnMaxTime > MAX_TURN_TIME) {
427
throw new IllegalArgumentException("Invalid turn max time : stay under 25s");
0 commit comments