Skip to content

Commit

Permalink
Fix solution loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeXing committed Jul 15, 2018
1 parent db73aea commit c38d4aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/analyst.js
Expand Up @@ -320,8 +320,7 @@ PatheryGraph.prototype.find_path = function(

var neighbors = this.neighbors[u];
var is_current_tile_ice = this.serial_board[u] === NOTURN;
if (is_current_tile_ice) {
}

for (var i = 0; i < neighbors.length; i++) {
var v = neighbors[i];

Expand Down
3 changes: 2 additions & 1 deletion src/therapist.js
Expand Up @@ -937,7 +937,8 @@ function click_block_untriggered(mapid, block) {
var block_div = $("#" + id);
// Only click the block if it's clickable (e.g. not a transporter/pre-placed block/checkpoint etc).
// TODO: this stops being true for clickable blocks after placement and erase
if (!block_div.hasClass('o')) { return; }
// The class for this changed from 'o' to 'o1'. Going to try removing the check completely for now.
// if (!block_div.hasClass('o1')) { return; }
grid_click(block_div[0]);
}

Expand Down

0 comments on commit c38d4aa

Please sign in to comment.