mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
...test
This commit is contained in:
1 parent
6ba7b33a05
commit
fe5f0e8d8c
4 files changed
+137
-24
No files matched your search
+10
-1
@@ -230,7 +230,16 @@ async function forceRejoinPlayer(ctx, player) {
|
||||
} catch (e) { logger.warn("[Debug] queue restore:", e?.message); }
|
||||
}
|
||||
|
||||
if (wasAutoplay) newPlayer._autoplay = true;
|
||||
if (wasAutoplay) {
|
||||
newPlayer._autoplay = true;
|
||||
newPlayer._autoplayHistory = player._autoplayHistory ?? [];
|
||||
try {
|
||||
const { attachAutoplay } = await import("./autoplay.mjs");
|
||||
attachAutoplay(newPlayer, ctx);
|
||||
} catch (e) {
|
||||
logger.warn("[Debug] autoplay re-attach failed:", e?.message);
|
||||
}
|
||||
}
|
||||
|
||||
const newRoom = newPlayer.connection?.room;
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user