diff --git a/CHANGELOG.md b/CHANGELOG.md index 04c42dbe..80a2eff9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# v2.14.1.alpha + +* Fixed an issue where the editor would not open projects with minor warnings. + # v2.14.0.alpha * Bumped SpaceManiac/SpacemanDMM BYOND parser to the latest. diff --git a/third_party/sdmmparser/src/environment.rs b/third_party/sdmmparser/src/environment.rs index ab501876..93c3bde4 100644 --- a/third_party/sdmmparser/src/environment.rs +++ b/third_party/sdmmparser/src/environment.rs @@ -53,7 +53,7 @@ fn errors_message(ctx: &Context) -> Option { let ctx_e = ctx.errors(); let errors: Vec<_> = ctx_e .iter() - .filter(|e| e.severity() <= dm::Severity::Info) + .filter(|e| e.severity() == dm::Severity::Error) .collect(); if errors.is_empty() {