@adatechnology/game-weapons-three 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PRC75VKC.js → chunk-XMVSA7UT.js} +2 -1
- package/dist/chunk-XMVSA7UT.js.map +1 -0
- package/dist/index.global.js +69 -7
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/testing.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-PRC75VKC.js.map +0 -1
|
@@ -141,6 +141,7 @@ function createAccessoryBench(options) {
|
|
|
141
141
|
camera.updateProjectionMatrix();
|
|
142
142
|
};
|
|
143
143
|
const onKeyDown = (event) => {
|
|
144
|
+
if (host.playerHeld?.()) return;
|
|
144
145
|
if (event.repeat || event.ctrlKey || event.metaKey || event.altKey || TEXT_FIELDS.has(event.target?.tagName ?? "")) return;
|
|
145
146
|
const handled2 = event.code === ACCESSORY_KEYS.light ? act(ACTION_IDS.light) : event.code === ACCESSORY_KEYS.laser ? act(ACTION_IDS.laser) : event.code === ACCESSORY_KEYS.underbarrel ? act(ACTION_IDS.underbarrel) : event.code === ACCESSORY_KEYS.stock && toggleStock();
|
|
146
147
|
if (!handled2) return;
|
|
@@ -11066,4 +11067,4 @@ export {
|
|
|
11066
11067
|
DEFAULT_EXPLOSIVES_SCENE,
|
|
11067
11068
|
createExplosivesTestModule
|
|
11068
11069
|
};
|
|
11069
|
-
//# sourceMappingURL=chunk-
|
|
11070
|
+
//# sourceMappingURL=chunk-XMVSA7UT.js.map
|