ExtrasMenu: Fix playback settings hook not working on subless titles
This commit is contained in:
parent
d42172174a
commit
7acc934b61
@ -144,13 +144,14 @@ export default JadefinIntegrity("ExtrasMenu", import.meta.url, () => new (class
|
||||
|
||||
// Options menu during playback
|
||||
if (!options.dialogClass &&
|
||||
options.items.length >= 6 &&
|
||||
options.items.length >= 4 &&
|
||||
options.items[0].id == "aspectratio" &&
|
||||
options.items[1].id == "playbackrate" &&
|
||||
options.items[2].id == "quality" &&
|
||||
options.items[3].id == "repeatmode" &&
|
||||
options.items[4].id == "suboffset" &&
|
||||
options.items[5].id == "stats" &&
|
||||
// suboffset might not always exist
|
||||
// options.items[4].id == "suboffset" &&
|
||||
// options.items[5].id == "stats" &&
|
||||
true
|
||||
) {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
Loading…
Reference in New Issue
Block a user