mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-17 22:27:00 +02:00
disable grab while attachment version of pistol script is running
This commit is contained in:
parent
948479b0e8
commit
386afa272c
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ Script.include("../../../libraries/constants.js");
|
|||
|
||||
var GUN_FORCE =20;
|
||||
|
||||
Messages.sendMessage('Hifi-Hand-Disabler', "both");
|
||||
|
||||
var gameName = "Kill All The Rats!"
|
||||
// var HOST = "localhost:5000"
|
||||
|
@ -194,6 +195,7 @@ function fire(side, value) {
|
|||
|
||||
|
||||
function scriptEnding() {
|
||||
Messages.sendMessage('Hifi-Hand-Disabler', 'none');
|
||||
mapping.disable();
|
||||
for (var i = 0; i < pointers.length; ++i) {
|
||||
Overlays.deleteOverlay(pointers[i]);
|
||||
|
|
Loading…
Reference in a new issue