Skip to content

Commit

Permalink
Fix replays ignoring expander rule and don't show mines at replay end
Browse files Browse the repository at this point in the history
Use replay MapFactory method for replays
  • Loading branch information
Zomis committed Mar 23, 2019
1 parent 0395211 commit ba73084
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/replay/Replay.vue
Expand Up @@ -25,7 +25,8 @@ export default {
let coreLib = require("../../kotlin/minesweeper-core");
let core = coreLib.default.net.zomis.minesweeper.core;
let mapFactory = new core.MapFactory();
let map = mapFactory.classic(16);
let map = mapFactory.replay();
let replayFactory = new core.ReplayFactory();
let replay = replayFactory.fromSavedToMap(
map,
Expand Down

0 comments on commit ba73084

Please sign in to comment.