From 0f6b0485450ac278bf314a7c3b7111fa4c5483de Mon Sep 17 00:00:00 2001 From: Felix Date: Sat, 2 May 2026 16:11:21 +0300 Subject: [PATCH] fix(controller): adjust continue statement placement in stream loop Move the continue statement outside the conditional block to ensure correct loop control flow. The previous nesting could cause unintended skipping or processing of stream iterations based on condition evaluation, potentially leading to logic errors in stream handling. --- LME.Mikai/Controller.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LME.Mikai/Controller.cs b/LME.Mikai/Controller.cs index 1275579..b49ec68 100644 --- a/LME.Mikai/Controller.cs +++ b/LME.Mikai/Controller.cs @@ -185,8 +185,7 @@ namespace LME.Mikai.Controllers } } - continue; - } + continue; } string callUrl = $"{host}/lite/lme_mikai/play?url={HttpUtility.UrlEncode(episode.Url)}&title={HttpUtility.UrlEncode(displayTitle)}";