Skip to content
This repository has been archived by the owner on Mar 3, 2019. It is now read-only.

Commit

Permalink
all we do is fuck shit up no matter what
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaErisian committed Oct 22, 2016
1 parent 676bbb4 commit af9022d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions map.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ var mapModule = {
//reverse if necessary
if(w < 1) {
w = this.startCoordinates[0] - coords.x + 1;
this.startCoordinates[0] = coords.x;
}
if(h < 1) {
h = this.startCoordinates[1] - coords.y + 1;
this.startCoordinates[1] = coords.y;
}

console.log("finish with " + coords.x + ", " + coords.y + ".");
Expand Down

0 comments on commit af9022d

Please sign in to comment.