Skip to content

Commit

Permalink
CWars: Use a deck in test play (can't believe I didn't see this sooner)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Jun 20, 2018
1 parent 5f03770 commit 100c7ee
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -119,7 +119,7 @@ private ECSModTest multithreadedPlayTest(ModCollection mods, String modName) {
public void run() {
ECSMod mod = mods.getModFor(modName);
ECSGame game = new ECSGame();
CardshifterAI ai = new ScoringAI(AIs.fighter());
CardshifterAI ai = new ScoringAI(AIs.fighter(), AIs.randomDeck(new Random()));
mod.declareConfiguration(game);
List<Entity> players = Players.getPlayersInGame(game);
for (Entity entity : players) {
Expand Down

0 comments on commit 100c7ee

Please sign in to comment.