Skip to content

Commit

Permalink
Hosuefix
Browse files Browse the repository at this point in the history
  • Loading branch information
kq-li committed Apr 3, 2016
1 parent cf3a2ad commit 9e1738a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/js/game/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ Game.prototype.draw = function() {

this.drawing.drawBackground();

x = Constants.SCORING_REGION;
var goalCoords = this.viewport.toCanvasCoords(Constants.SCORING_REGION_DRAW[0],
Constants.SCORING_REGION_DRAW[1]);
this.drawing.drawGoal(goalCoords[0], goalCoords[1],
Expand Down
2 changes: 1 addition & 1 deletion shared/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Constants.PLAYER_MAX_HEALTH = 10;
* @const
* @type {Array<number>}
*/
Constants.SCORING_REGION = [1275, 1280, 350, 400];
Constants.SCORING_REGION = [1275, 1224, 350, 400];

/**
* @const
Expand Down

0 comments on commit 9e1738a

Please sign in to comment.