Remove debug and change version to release

This commit is contained in:
OleSTEEP 2024-03-09 01:16:17 +03:00
parent f9e80edb2a
commit 9b5d4caf05
9 changed files with 1 additions and 43 deletions

View file

@ -194,9 +194,6 @@ ONSControls.resetIdleAnimation = function() {
//=============================================================================
ONSControls.sendEvent = function(event, button) {
const key = VirtualGamepad.keys.find((element) => element.name == button);
if (event.type === "pointerdown") {
console.log(`ONSControls: Pointer down for ${button}`); // Remove in release
}
VirtualGamepad.gamepad.buttons[key.code].pressed = event.type === "pointerdown" ? true : false
}
//=============================================================================