diff --git a/prpr/src/parse/rpe.rs b/prpr/src/parse/rpe.rs index f20467b8..7f6063a0 100644 --- a/prpr/src/parse/rpe.rs +++ b/prpr/src/parse/rpe.rs @@ -473,7 +473,8 @@ async fn parse_judge_line( && rpe .extended .as_ref() - .is_none_or(|it| it.text_events.as_ref().is_some_and(|it| it.is_empty())) + .and_then(|it| it.text_events.as_ref()) + .is_none_or(|it| it.is_empty()) && rpe.attach_ui.is_none() { 0.5