Skip to content

Commit

Permalink
Merge pull request Jerenaux#1 from Kaundur/Update-Game.marker
Browse files Browse the repository at this point in the history
Game.marker visibility
  • Loading branch information
Jerenaux authored Mar 19, 2017
2 parents d58c201 + 031a7c8 commit 1bddfa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/client/Being.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ Being.prototype.pathfindingCallback = function(finalOrientation,action,delta,sen
// path is an array of 2-tuples of coordinates
if(path === null && this.isPlayer) {
Game.moveTarget.visible = false;
Game.marker.visible = true;
}else if(path !== null){
if(action.action == 3 || action.action == 4){ // fight or chest
finalOrientation = Game.computeFinalOrientation(path);
Expand Down

0 comments on commit 1bddfa2

Please sign in to comment.