Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scoppio committed Feb 4, 2025
1 parent a3031e4 commit f48969a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion megamek/unittests/megamek/client/BasicGameTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;


public class BasicGameTest {

private TWGameManager gameManager;
Expand All @@ -49,7 +50,6 @@ public class BasicGameTest {
private Random random = new Random();
private GameThread gameThread;

// autosave_2024-11-12_17-56-40.sav.gz
private static Map<String, File> testSaves = Map.of(
"one mek each", new File("testresources/data/scenarios/testbot/lounge_1x1_grasslands.sav.gz")
);
Expand Down
8 changes: 0 additions & 8 deletions megamek/unittests/megamek/client/GameThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,6 @@ private void connectToServer() {
if (!server.loadGame(saveFile)) {
throw new RuntimeException("Failed to load game");
}
var gameOptions = server.getGame().getOptions();


Vector<IBasicOption> changed = new Vector<>();
var option = gameOptions.getOption(OptionsConstants.BASE_RNG_TYPE);
option.setValue(MMRandom.R_SEEDED);
changed.add(option);
sendAction(() -> watcher.sendGameOptions("", changed));
}

@Override
Expand Down

0 comments on commit f48969a

Please sign in to comment.