remove continueNearGrab from bat script

This commit is contained in:
Stephen Birarda 2015-11-04 09:33:09 -08:00
parent 73aa016d8c
commit ea2b9e906b

View file

@ -2,17 +2,14 @@
Script.include("pitching.js");
var pitchingMachine = null;
this.startNearGrab = function() {
print("Started near grab!");
if (!pitchingMachine) {
getPitchingMachine();
pitchingMachine = getPitchingMachine();
Script.update.connect(function(dt) { pitchingMachine.update(dt); });
}
print("Started near grab!");
pitchingMachine.start();
MyAvatar.shouldRenderLocally = false;
};
this.continueNearGrab = function() {
MyAvatar.shouldRenderLocally = false;
}
this.releaseGrab = function() {
print("Stopped near grab!");
if (pitchingMachine) {