@adatechnology/game-vehicles-driving 0.3.10 → 0.3.12

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/index.js CHANGED
@@ -820,6 +820,7 @@ function createVehicleControls(options) {
820
820
  return {
821
821
  keys,
822
822
  state,
823
+ owns: (code) => driving.has(code),
823
824
  key(code, down) {
824
825
  if (!driving.has(code)) return false;
825
826
  const was = held.has(code);