set default duration to 84

This commit is contained in:
Alug committed 2024-08-03 17:42:53 +02:00
1 parent 4acbca4c8f
commit 41dc34efe8
1 file changed
+1 -1
+1 -1
View File
@@ -3033,7 +3033,7 @@ static int lib_gPlayerDeviceRumble(lua_State *L)
player_t *plr = *((player_t **)luaL_checkudata(L, 1, META_PLAYER)); // retrieve player
UINT16 low_strength = (UINT16)luaL_checkinteger(L, 2); // low frequency rumble motor strenght
UINT16 high_strength = (UINT16)luaL_checkinteger(L, 3); // high frequency rumble motor strenght
UINT32 duration = (UINT32)luaL_optinteger(L, 4, 28); // duration of rumble in ms
UINT32 duration = (UINT32)luaL_optinteger(L, 4, 84); // duration of rumble in ms
for (int i = 0; i < MAXSPLITSCREENPLAYERS; ++i)
{