This commit is contained in:
James B. Pollack 2016-06-20 16:26:48 -07:00
parent f6d19ba32f
commit d8aeb26a6c

View file

@ -125,15 +125,15 @@
Entities.deleteEntity(this.arrow); Entities.deleteEntity(this.arrow);
}, },
startNearGrab:function(entityID, args){ startNearGrab: function(entityID, args) {
_this.startEquip(entityID, args); _this.startEquip(entityID, args);
}, },
continueNearGrab:function(entityID, args){ continueNearGrab: function(entityID, args) {
_this.continueEquip(entityID, args); _this.continueEquip(entityID, args);
}, },
releaseGrab:function(entityID, args){ releaseGrab: function(entityID, args) {
_this.releaseEquip(entityID, args); _this.releaseEquip(entityID, args);
}, },
@ -484,7 +484,7 @@
Entities.editEntity(this.arrow, arrowProperties); Entities.editEntity(this.arrow, arrowProperties);
this.playShootArrowSound(); this.playShootArrowSound();
var whichHand = this.hand==='left' ? 0 :1; var whichHand = this.hand === 'left' ? 0 : 1;
Controller.triggerShortHapticPulse(whichHand, 2); Controller.triggerShortHapticPulse(whichHand, 2);
//clear the strings back to only the single straight one //clear the strings back to only the single straight one