Browse Source

another fix for #712

tags/v0.2.1^2
Big Bad Waffle 5 years ago
parent
commit
1290aca397
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/client/js/components/pather.js

+ 3
- 1
src/client/js/components/pather.js View File

@@ -53,7 +53,7 @@ define([
},

add: function(x, y) {
if (this.path.length >= this.maxPathLength)
if (this.path.length >= maxPathLength)
return;

this.path.push({
@@ -69,6 +69,8 @@ define([
h: scale - (scaleMult * 2)
})
});

return true;
},

update: function() {


Loading…
Cancel
Save