MediaMini: fix empty player not hiding

This commit is contained in:
notiant
2026-01-22 13:19:12 +01:00
committed by GitHub
parent ceb9526fc0
commit 68f85f1eee
+1 -1
View File
@@ -146,7 +146,7 @@ Singleton {
let controllablePlayers = [];
for (var i = 0; i < finalPlayers.length; i++) {
let player = finalPlayers[i];
if (player && player.canControl) {
if (player && player.canPlay) {
controllablePlayers.push(player);
}
}