Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kuronekochomusuke committed Feb 13, 2024
1 parent da9a491 commit f9303a0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions MekHQ/src/mekhq/io/migration/GameOptionsMigrator.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
import megamek.common.options.OptionsConstants;

public class GameOptionsMigrator {
// commented out as an example of how to do
//public static void migrate(final Version version, final GameOptions gameOptions) {
// if (version.isLowerThan("0.49.11")) {
// final IOption turnTimerOption = gameOptions.getOption(OptionsConstants.BASE_TURN_TIMER);
// turnTimerOption.setValue(turnTimerOption.intValue() * 60);
// }
//}
public static void migrate(final Version version, final GameOptions gameOptions) {
// commented out as an example of how to do
//if (version.isLowerThan("0.49.11")) {
// final IOption turnTimerOption = gameOptions.getOption(OptionsConstants.BASE_TURN_TIMER);
// turnTimerOption.setValue(turnTimerOption.intValue() * 60);
//}
}
}

0 comments on commit f9303a0

Please sign in to comment.