mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Update bat.js to ensure pitching machine is running in continueNearGrab
This commit is contained in:
parent
cb2a698488
commit
d0d3aaa09c
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,11 @@
|
|||
MyAvatar.shouldRenderLocally = false;
|
||||
};
|
||||
this.continueNearGrab = function() {
|
||||
if (!pitchingMachine) {
|
||||
pitchingMachine = getPitchingMachine();
|
||||
Script.update.connect(function(dt) { pitchingMachine.update(dt); });
|
||||
}
|
||||
pitchingMachine.start();
|
||||
MyAvatar.shouldRenderLocally = false;
|
||||
}
|
||||
this.releaseGrab = function() {
|
||||
|
|
Loading…
Reference in a new issue