Archived
4
1
Fork 0

Hide bracket after shoot

This commit is contained in:
Simon Giesel 2017-06-18 22:20:12 +02:00
parent 607d1894d7
commit c313988a6b

View file

@ -112,6 +112,7 @@ var _COLOR_GRASS = '#388E3C',
}
function drawBracket() {
if(bVec != null) return;
var x = pX,
y = pY
if(Math.hypot(pX - bX, pY - bY) > _MAX_BRACKET){