From 4acbca4c8f6362448dae59dce90e27cfade16736 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 e4b15feca..83dd8e993 100644 --- a/src/p_tick.c +++ b/src/p_tick.c @@ -356,7 +356,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 } }