diff --git a/src/data/projEntry.tsx b/src/data/projEntry.tsx index 4571ae8..a7ce74e 100644 --- a/src/data/projEntry.tsx +++ b/src/data/projEntry.tsx @@ -776,6 +776,21 @@ export const main = createLayer("main", function (this: BaseLayer) { if (battle.value == null) { throw "Preparing move while not in battle"; } + if ( + queue.value.length === 0 && + (battle.value.streamers.find(m => m.relevancy <= 0 || m.presence <= 0) || + battle.value.enemyStreamers.find(m => m.relevancy <= 0 || m.presence <= 0)) + ) { + battle.value.streamers = battle.value.streamers.filter( + m => m.relevancy > 0 && m.presence > 0 + ); + battle.value.enemyStreamers = battle.value.enemyStreamers.filter( + m => m.relevancy > 0 && m.presence > 0 + ); + playClicked.value = false; + setTimeout(prepareMove, settings.fast ? 750 : 1250); + return; + } if ( queue.value.length === 0 && battle.value.team.length === 0 &&