Removed comment

This commit is contained in:
neauoire
2020-03-24 20:24:49 +09:00
parent 90368d28d8
commit a3e5b28e7d
4 changed files with 19 additions and 17 deletions

View File

@@ -229,7 +229,6 @@ function Tool (client) {
// Cannot cast close twice
if (type === 'close') {
const prev = this.layer()[this.layer().length - 1]
console.log(this.vertices.length)
if (!prev || prev.type === 'close' || this.vertices.length !== 0) {
return false
}