mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2026-03-12 06:46:24 +00:00
fixed marble powerups on web touch
This commit is contained in:
parent
516a18ce71
commit
422577404f
1 changed files with 1 additions and 1 deletions
|
|
@ -1511,7 +1511,7 @@ class Marble extends GameObject {
|
|||
|| Gamepad.isDown(Settings.gamepadSettings.jump)) {
|
||||
move.jump = true;
|
||||
}
|
||||
if (Key.isDown(Settings.controlsSettings.powerup)
|
||||
if ((!Util.isTouchDevice() && Key.isDown(Settings.controlsSettings.powerup))
|
||||
|| (Util.isTouchDevice() && MarbleGame.instance.touchInput.powerupButton.pressed)
|
||||
|| Gamepad.isDown(Settings.gamepadSettings.powerup)) {
|
||||
move.powerup = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue