Repository navigation
Conversation
A pack whose info.vdf declares a UI version other than 3 is an outdated HUD. The mod file review now disables that choice with the reason the HUD importer gives, and the installer refuses it. A pack with no info.vdf, or one that declares no UI version, is still an ordinary mod.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A HUD made for an older interface version could be installed through Mods as an ordinary custom pack with no warning. Import HUD refuses the same file and says to get an updated copy.
Change
info.vdfdeclares a UI version other than 3 is treated as an outdated HUD. The mod file review greys that choice out with the HUD importer's reason, and the installer refuses it with its own error code.info.vdf, or one whoseinfo.vdfdeclares no UI version, is still an ordinary mod, so mods that ship an unrelatedinfo.vdfare unaffected.Guide, architecture notes and changelog are updated.
Checks
cargo fmt --all --check,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace --locked