addHook('PlayerThink', function(p) if p.mo ~= nil and p.mo.valid then if not (splitscreen or netgame) then S_SetMusicPosition(S_GetMusicPosition()-8 +((FixedDiv(FixedDiv(p.speed, p.mo.scale), p.normalspeed)*8) /FRACUNIT)) end end end)