From 7389537c63b95351fb5318ba4db9f9f28bb2bab5 Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 30 Jul 2024 00:20:13 +0200 Subject: [PATCH] do not constantly reset rumble so it can work from lua --- src/p_tick.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_tick.c b/src/p_tick.c index 20460a589..112bcc63d 100644 --- a/src/p_tick.c +++ b/src/p_tick.c @@ -373,7 +373,8 @@ static inline void P_DeviceRumbleTick(void) } } - G_PlayerDeviceRumble(i, low, high, 0); + if (low && high != 0) + G_PlayerDeviceRumble(i, low, high, 57); // hack alert! i just dont want this think constantly resetting the rumble lol } }