dont apply lua rumble during replay playback
same as non lua rumble
This commit is contained in:
1 parent
31517ebebe
commit
4f21d8f983
1 file changed
+2
@@ -3087,6 +3087,8 @@ static int lib_gPlayerDeviceRumble(lua_State *L)
|
||||
if (!player)
|
||||
return LUA_ErrInvalid(L, "player_t");
|
||||
|
||||
if (demo.playback) return 0;
|
||||
|
||||
pnum = P_GetLocalPlayerNumForPlayer(player);
|
||||
|
||||
// Not a local player
|
||||
|
||||
Reference in new issue
Block a user