Skip to content

Commit

Permalink
Merge pull request #10 from kinggozhang/master
Browse files Browse the repository at this point in the history
Fix bug: y2 is wrong
  • Loading branch information
oldj committed May 17, 2017
2 parents 930e143 + 92671f6 commit f20cad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/td-obj-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ _TD.a.push(function (TD) {
this.width = this.grid_x * TD.grid_size;
this.height = this.grid_y * TD.grid_size;
this.x2 = this.x + this.width;
this.y2 = this.y + this.width;
this.y2 = this.y + this.height;
this.grids = [];
this.entrance = this.exit = null;
this.buildings = [];
Expand Down

0 comments on commit f20cad4

Please sign in to comment.