S_StopMusic call before starting jingles prevents manipulation with MusicChange hook
In P_PlayJingleMusic
, there is an S_StopMusic
call which resets the music name, position etc. before S_ChangeMusicInternal
runs and calls the MusicChange Lua hook, preventing the hook from identifying or properly overriding the music parameters being changed.
Edited by Lach